Commit 0858f304 authored by xiangzj's avatar xiangzj

要货

parent d1fab0db
......@@ -400,6 +400,7 @@
params.procInstId = data.procInstId
params.taskId = data.taskId
// 提交
params.wantGoodsDetailList = JSON.stringify(params.wantGoodsDetailList)
const res = await advance(params)
if (res.status == 1) {
uni.showToast({
......
......@@ -120,6 +120,7 @@
methods: {
async getDetail(){
const res = await initAppWantGoods(this.orderItem)
for(let k in res.data){res.data[k] = res.data[k]===null?'':res.data[k]}
this.detail = {'shuntTypeName': ' ','shuntName': ' ','channelTypeName': '',...res.data}
},
changeComponent(com) {
......
......@@ -114,11 +114,13 @@
'height': `${this.sysinfo.safeArea.height - 44 - 156 }px`
}
},
},
onShow() {
this.lists = []
this.getSalesPlanTypes(true)
},
created() {
this.reset()
this.getSalesPlanTypes(true);
},
methods: {
purchaseBtn(item) {
......@@ -127,10 +129,6 @@
})
},
async getSalesPlan(isRefresh) {
if (this.loadParams.isDone) {
return
}
const params = {
...this.page,
}
......@@ -207,14 +205,6 @@
this.loadingText = '加载中'
},
async getSalesPlanTypes() {
const params = {
"object_id": [{
"sign": "I",
"option": "EQ",
"low": "A0002",
"HIGH": ""
}]
}
this.getSalesPlan()
},
}
......
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 to comment