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