diff --git a/pages/procurement/api/lunpan.js b/pages/procurement/api/lunpan.js index db9df71..5713ef8 100644 --- a/pages/procurement/api/lunpan.js +++ b/pages/procurement/api/lunpan.js @@ -408,10 +408,27 @@ export const voidedPddMain = (params) => { }) } -export const queryCareList = (params) => { +export const queryOrderList = (params) => { return request({ - url: `${uni.getStorageSync('serverUrl')}/api/pad/warehouse/queryCareList`, + url: `${uni.getStorageSync('serverUrl')}/api/pad/warehouse/queryOrderList`, method: 'get', data: params, }) -} \ No newline at end of file +} + + + export const startDirectiveServe = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/thd/startDirectiveServe`, + method: 'post', + data: params, + }) + } + export const finishDirectiveServe = (params) => { + return request({ + url: `${uni.getStorageSync('serverUrl')}/api/pad/invoicing/thd/finishDirectiveServe`, + method: 'post', + data: params, + }) + } + \ No newline at end of file diff --git a/pages/procurement/common/thitem.vue b/pages/procurement/common/thitem.vue index d6dee84..f43af91 100644 --- a/pages/procurement/common/thitem.vue +++ b/pages/procurement/common/thitem.vue @@ -53,7 +53,7 @@ - + 添加物料 @@ -124,8 +124,8 @@ const tuihuoshow = ref(false) const tuihuoobj = ref({}) const comfig = (v, i, t) => { - if (props.status == '0') { - errmsg.value = '未开始服务不能添加退货物料!'; + if (props.status == '1') { + errmsg.value = '退货单已完成不能添加退货物料!'; openerror.value = true; return } diff --git a/pages/procurement/common/thwl.vue b/pages/procurement/common/thwl.vue index 17f890f..711b1f3 100644 --- a/pages/procurement/common/thwl.vue +++ b/pages/procurement/common/thwl.vue @@ -13,7 +13,7 @@ + :style="qb?'width:calc(100% - 21.8vw)':status==0?'width:calc(100% - 9vw)':'width:calc(100% - 5vw)' "> + v-if="status==0"> {{!qb?'更多':'收起'}} + v-if="status==0"> 提交退货单 diff --git a/pages/procurement/retstock.vue b/pages/procurement/retstock.vue index eb70d80..caed94e 100644 --- a/pages/procurement/retstock.vue +++ b/pages/procurement/retstock.vue @@ -136,7 +136,7 @@ - {{qcobj.startTime}} - {{qcobj.endTime}} + {{qcobj.startTime.substring(0, 10)}} - {{qcobj.endTime.substring(0, 10)}} @@ -149,11 +149,11 @@ 业务单号:{{qcobj.orderNo}} - + 开始服务 - - 结束服务 + + 结束服务 @@ -168,7 +168,7 @@