Commit 029b2358 by LJM

js

parent 813dd6ef
......@@ -3,3 +3,4 @@
/unpackage
/*.hbuilderx
/.DS_Store
/node_modules
\ No newline at end of file
......@@ -37,12 +37,6 @@
.icon-a-juxing11 {
font-size: 30rpx;
color: #c6c7cc;
display: none;
}
&:focus-within {
.icon-a-juxing11 {
display: block;
}
}
}
}
......@@ -52,11 +46,11 @@
flex-wrap: wrap;
.box {
position: relative;
padding: 15rpx 17rpx 0 17rpx;
padding: 15rpx 17rpx 12rpx 17rpx;
width: 345rpx;
height: 250rpx;
background: #ffffff;
box-shadow: 0px 3rpx 3rpx 0px rgba(198, 199, 204, 0.3);
border: 1px solid transparent;
border-radius: 10rpx;
margin-right: 15rpx;
margin-bottom: 15rpx;
......@@ -109,7 +103,14 @@
margin-bottom: 20rpx;
}
.btn-box {
justify-content: flex-end;
.b1 {
font-size: 15rpx;
color: #919399;
}
.b2 {
font-size: 15rpx;
color: #1969f9;
}
.btn {
width: 68rpx;
height: 30rpx;
......@@ -292,21 +293,63 @@
left: 0;
right: 0;
width: 100%;
height: 75rpx;
background: #1969f9;
font-size: 23rpx;
color: #ffffff;
.btn1 {
height: 75rpx;
background: #1969f9;
font-size: 23rpx;
color: #ffffff;
}
.btn2 {
height: 75rpx;
background: #ffe0d7;
font-size: 23rpx;
color: #ff3700;
font-weight: bold;
}
}
.btn1 {
position: absolute;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 75rpx;
background: #ffe0d7;
font-size: 23rpx;
color: #ff3700;
font-weight: bold;
.tip-box {
margin-top: 36rpx;
margin-bottom: 23rpx;
height: 60rpx;
background: #fff5ec;
border-radius: 30rpx 30rpx 30rpx 30rpx;
.iconfont {
font-size: 30rpx;
color: #f98119;
margin-left: 23rpx;
}
.tt {
margin-left: 12rpx;
font-size: 20rpx;
color: #f98119;
}
}
.input-wrap {
margin-bottom: 25rpx;
.label-title {
font-size: 20rpx;
color: #484b59;
font-weight: bold;
margin-bottom: 10rpx;
}
.input-box {
.uni-input {
height: 55rpx;
background: #ffffff;
border-radius: 10rpx;
border: 1px solid #1969f9;
font-size: 17rpx;
padding-left: 18rpx;
}
.uni-textarea {
width: 100%;
height: 110rpx;
background: #ffffff;
border-radius: 10px;
border: 1px solid #1969f9;
font-size: 17rpx;
padding: 18rpx;
}
}
}
}
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"lodash": {
"version": "4.17.21",
"resolved": "https://repo.huaweicloud.com/repository/npm/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
}
}
}
......@@ -21,7 +21,15 @@ const API = {
/**
* 到货记录
* */
stockInRegisterList: API_BASE + '/api/stockIn/stockInRegister/stockInRegisterList',
stockInMobileRegisterList: API_BASE + '/api/stockIn/stockInRegister/stockInMobileRegisterList',
/**
* 新增到货记录
* */
addStockInRegister: API_BASE + '/api/stockIn/stockInRegister/addStockInRegister',
/**
* 删除到货登记
* */
delStockInRegister: API_BASE + '/api/stockIn/stockInRegister/delStockInRegister',
}
......
......@@ -7,7 +7,7 @@ const request = (url = '', type = 'GET', param = {}, Loading) => {
const oa_skey = uni.getStorageSync('oa_skey') || '';
var params = Object.assign(param, {
pf: 20
is_mobile: 1
});
//是否启动加载
......@@ -64,7 +64,19 @@ const getPlatform = () => {
return platform;
}
/**
* 来创建指定长度且所有元素都被初始化为 false 的数组
*/
const createArray = (length, value) => {
return Array(length).fill(value);
}
module.exports = {
request,
getPlatform
getPlatform,
createArray
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment