diff --git a/pages/index/addHangOrder.vue b/pages/index/addHangOrder.vue
index 0589dd4..8480770 100644
--- a/pages/index/addHangOrder.vue
+++ b/pages/index/addHangOrder.vue
@@ -18,7 +18,7 @@
- {{item.createByName}}
+ {{item.createByName}}
{{item.createTime}}
diff --git a/pages/index/downarrears.vue b/pages/index/downarrears.vue
index eb13e3f..4cc9d29 100644
--- a/pages/index/downarrears.vue
+++ b/pages/index/downarrears.vue
@@ -1,25 +1,9 @@
-
-
+
- -
+
-
销售员: {{item.createByName == null ?'暂无':item.createByName}}
diff --git a/pages/index/orderDetail.vue b/pages/index/orderDetail.vue
index 2ec4c44..abb5144 100644
--- a/pages/index/orderDetail.vue
+++ b/pages/index/orderDetail.vue
@@ -168,13 +168,13 @@
配送公司:
- {{ sales.transportType}}
+ {{ sales.companyName == null ?'暂无':sales.companyName}}
配送人员:
- {{ sales.transportType}}
+ {{ sales.transCompany == null ?'暂无':sales.transCompany}}
diff --git a/pages/index/uparrears.vue b/pages/index/uparrears.vue
index a6c17a5..dcf2309 100644
--- a/pages/index/uparrears.vue
+++ b/pages/index/uparrears.vue
@@ -4,9 +4,9 @@
-
-
- 销售员: {{item.createBy == null ?'暂无':item.createBy}}
+ 入库人: {{item.createBy == null ?'暂无':item.createBy}}
总成本:
{{item.shouldPay == null ?'暂无':item.shouldPay}}
{{' 欠款: '}} {{item.noPay == null ?'暂无':item.noPay}}
@@ -72,7 +72,7 @@
},
returnPrice(item){
uni.navigateTo({
- url: '/pages/index/orderDetail?type=gys&id='+ item.id
+ url: '/pages/index/waitStorageDetail?id='+ item.id
})
}
}
diff --git a/pages/index/waitStorage.vue b/pages/index/waitStorage.vue
index df991e8..afd7642 100644
--- a/pages/index/waitStorage.vue
+++ b/pages/index/waitStorage.vue
@@ -1,15 +1,19 @@
-
+
+
+
+
-
-
- 销售员:{{item.createBy == null ?'暂无':item.createBy}}
+ 入库人:
{{item.createBy == null ?'暂无':item.createBy}}
总成本:
@@ -40,13 +44,15 @@
}
},
data() {
- return {
+ return {
+ keyword: '',
list: [],
inStorageStatus: '',
supplierName: '',
startDate: '',
endDate: '',
- type: ''
+ type: '',
+ page: 1,
// status: 'loadmore',
// page: 1,
// totalPages: 0,
@@ -77,6 +83,12 @@
this.tui.toast(res.message)
}
})
+ },
+ //搜索
+ searchList() {
+ this.page = 1;
+ // this.inventoryList = [];
+ // this.getOrderInfoList()
},
returnPrice(item) {
uni.navigateTo({
@@ -122,5 +134,10 @@
line-height: 60rpx;
text-align: center;
border-radius: 10px;
+ }
+ .search {
+ padding: 20upx;
+ background-color: #fff;
+ width: 100%;
}
\ No newline at end of file
diff --git a/pages/index/waitStorageDetail.vue b/pages/index/waitStorageDetail.vue
index e86fa2c..c901a98 100644
--- a/pages/index/waitStorageDetail.vue
+++ b/pages/index/waitStorageDetail.vue
@@ -13,7 +13,7 @@
货号:{{item.productSn == null ?'暂无':item.productSn}}
总价:{{item.price == null ?'暂无':item.price}} 数量:{{item.productCount == null ?'暂无':item.productCount}}
-
维护采购价
@@ -25,8 +25,44 @@
数量:{{items.productCount == null ?'暂无':item.productCount}}
+
+
+
+ 应付金额
+
+ ¥
+ {{ sales.shouldPay == null ?'暂无':sales.shouldPay }}
+
+
+
+ 已付金额
+
+ ¥
+ {{ sales.alreadyPay == null ?'暂无':sales.alreadyPay }}
+
+
+
+ 欠款
+
+ ¥
+ {{ sales.noPay == null ?'暂无':sales.noPay}}
+
+
+
+ 其他费用
+
+ ¥
+ {{ sales.otherPay == null ?'暂无':sales.otherPay}}
+
+
+
+ 备注
+
+ {{ sales.remark == null ?'暂无':sales.remark}}
+
+
-
+
@@ -62,13 +98,19 @@
-
- 确认提交
+
+ 回款
+ 确认提交
-
+
+
+
+
+
@@ -85,7 +127,8 @@
alreadyPay:0,
otherPay:0,
remark:'',
- id:''
+ id:'',
+ type:''
}
},
filters: {
@@ -102,7 +145,8 @@
},
onLoad(option) {
this.id = option.id
- this.getWaitStorage(option.id)
+ this.getWaitStorage(option.id)
+ this.type = uni.getStorageSync('type')
},
methods: {
getWaitStorage(id) {
@@ -123,6 +167,10 @@
changePay() {
this.noPay = this.shouldPay - this.alreadyPay
},
+ //回款金额输入框
+ inputDialogToggle() {
+ this.$refs.inputDialog.open()
+ },
inventorySubmit() {
if (this.noPay == 0 || this.alreadyPay == 0 || this.shouldPay == 0) {
uni.showToast({
@@ -175,8 +223,8 @@
//编辑每一个的单价
clickCollapse(index) {
this.index = index
- this.$refs.inputDialog.val = ''
- this.$refs.inputDialog.open()
+ this.$refs.priceDialog.val = ''
+ this.$refs.priceDialog.open()
},
//计算价格
changePrice(val) {
diff --git a/pages/inventory/goodsList1.vue b/pages/inventory/goodsList1.vue
index 4c93aae..347717c 100644
--- a/pages/inventory/goodsList1.vue
+++ b/pages/inventory/goodsList1.vue
@@ -8,13 +8,13 @@
+ @tap.stop="goPopleList('khName')">
销售员
-
@@ -39,7 +39,7 @@
@@ -77,7 +77,7 @@
供应商:{{value[1].supplierName}}
+ @tap.stop="clickPrice(value[0])">
选择售价
@@ -104,7 +104,7 @@
-
+
{{values[0] | sliceMsg}}
@@ -180,7 +180,7 @@
+ @tap.stop="goPopleList(radioType == '0'? 'wlName' :'kdName')">
@@ -190,7 +190,7 @@
+ @tap.stop="goPopleList('fcName')">
@@ -201,11 +201,6 @@
-
{{radioType == '1'? '快递员' :'拉包工'}}
@@ -213,7 +208,7 @@
+ @tap.stop="goPopleList(radioType == '1'? 'kdyName' :'lbgName')">
@@ -234,8 +229,8 @@
¥{{shouldPay}}
-
-
+
+
@@ -244,15 +239,15 @@
-
-
+
{{itemTag.value}}
@@ -296,7 +291,7 @@
¥{{zPrice}}
@@ -326,6 +321,7 @@
zPrice:0,
priceOk:'', //已收金额
value: 0,
+ valuexsy:'',
sex: [{
text: '平台配送',
value: 0
@@ -392,7 +388,7 @@
remark:'',
pbAddress:'',
carList1:[],
- radioType1:'',
+ radioType1:0,
saleId:''
}
},
@@ -898,9 +894,53 @@
},
//点击底部开单按钮
goSell() {
- console.log(this.khName)
- console.log(this.lbgName)
- console.log(this.wlName)
+ // console.log(this.khName)
+ // console.log(this.lbgName)
+ // console.log(this.wlName)
+ if(this.khName == ''){
+ this.tui.toast('请选择客户!')
+ return
+ }
+ if(this.xsyId ==''){
+ this.tui.toast('请选择销售员!')
+ return
+ }
+ if(this.relPrice == (0 || '')){
+ this.tui.toast('请输入实收金额!')
+ return
+ }else if(this.priceOk==(0 || '')){
+ this.tui.toast('请输入已收金额!')
+ return
+ }
+ if(this.carList.size == 0){
+ this.tui.toast('请添加商品!')
+ return
+ }
+ if(this.radioType != ''){
+ if(this.radioType == 0 || this.radioType == 1 || this.radioType== 4){
+ if(this.wlName == ''){
+ this.tui.toast('请选择配送公司!')
+ return
+ }else if(this.radioType1 == 0){
+ if(this.lbgName == ''){
+ this.tui.toast('请选择配送人员!')
+ return
+ }
+ }
+ }else if(this.radioType== 3){
+ console.log(this.radioType1)
+ if(this.radioType1 == 0){
+ if(this.lbgName == ''){
+ this.tui.toast('请选择配送人员!')
+ return
+ }
+
+ }
+ }
+ }else{
+ this.tui.toast('请选择发货方式!')
+ return
+ }
let obj = {
orderByWorker: this.lbgName.workerId,
saleId:this.saleId,
@@ -1054,7 +1094,7 @@
let that = this;
uni.showModal({
title: "提示",
- content: "确定清空全部数据吗?",
+ content: "确定清空全部已选商品吗?",
success: function(res) {
that.carList.clear()
that.remark = ''