修改
This commit is contained in:
parent
58979e533e
commit
710c8dc540
@ -105,6 +105,8 @@
|
||||
</view>
|
||||
<u-modal v-model="workshow" content="确定完成该工单吗?" show-cancel-button :mask-close-able="true"
|
||||
@confirm='workupdata'></u-modal>
|
||||
<u-modal v-model="Receivingshow" content="是否确认接单?" show-cancel-button :mask-close-able="true"
|
||||
@confirm='updataReceiving'></u-modal>
|
||||
<u-toast ref="uToast" />
|
||||
</view>
|
||||
</template>
|
||||
@ -129,6 +131,8 @@
|
||||
return {
|
||||
workshow: false,
|
||||
worklist: {},
|
||||
Receivingshow: false,
|
||||
Receivinglist: {},
|
||||
tabslist: [{
|
||||
name: '全部工单',
|
||||
value: '',
|
||||
@ -206,12 +210,6 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
//前往聊天
|
||||
goseekadvicefrom(item) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/seekadvicefrom/seekadvicefrom?item=${JSON.stringify(item)}`
|
||||
})
|
||||
},
|
||||
//详情
|
||||
gotaskDetails(item) {
|
||||
uni.navigateTo({
|
||||
@ -231,8 +229,12 @@
|
||||
},
|
||||
//接单
|
||||
Receivingorders(item) {
|
||||
this.Receivingshow = true
|
||||
this.Receivinglist = item
|
||||
},
|
||||
updataReceiving() {
|
||||
var obj = {
|
||||
"goodsOrderId": item.goodsOrderId,
|
||||
"goodsOrderId": this.Receivinglist.goodsOrderId,
|
||||
"orderStatus": "RECEIVED_GOODS",
|
||||
}
|
||||
updateStatus(obj).then(res => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user