|
@@ -645,6 +645,7 @@
|
|
|
</zj-page-layout>
|
|
|
<selectionWorkers
|
|
|
v-if="item"
|
|
|
+ :title="title"
|
|
|
:detail="item"
|
|
|
:type="selectionWorkersType"
|
|
|
:callback="callback"
|
|
@@ -726,7 +727,8 @@ export default {
|
|
|
behavior: '',
|
|
|
selectionWorkersType: '',
|
|
|
item: null,
|
|
|
- callback: null
|
|
|
+ callback: null,
|
|
|
+ title: ''
|
|
|
}
|
|
|
},
|
|
|
|
|
@@ -1023,6 +1025,7 @@ export default {
|
|
|
|
|
|
// 变更小工
|
|
|
biangengxiaogong() {
|
|
|
+ this.title = '更换小工'
|
|
|
this.selectionWorkersType = 3
|
|
|
this.item = { ...this.detail }
|
|
|
this.callback = () => {
|
|
@@ -1033,12 +1036,14 @@ export default {
|
|
|
this.item = null
|
|
|
this.selectionWorkersType = null
|
|
|
this.callback = null
|
|
|
+ this.title = null
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
|
|
|
// 接单
|
|
|
actionReceive() {
|
|
|
+ this.title = '接收确认'
|
|
|
this.selectionWorkersType = 1
|
|
|
this.item = { ...this.detail }
|
|
|
this.callback = () => {
|
|
@@ -1049,6 +1054,7 @@ export default {
|
|
|
this.item = null
|
|
|
this.selectionWorkersType = null
|
|
|
this.callback = null
|
|
|
+ this.title = null
|
|
|
})
|
|
|
}
|
|
|
// this.$modal({
|
|
@@ -1070,6 +1076,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
qdOrder(item) {
|
|
|
+ // this.title = '接收确认'
|
|
|
// this.selectionWorkersType = 2
|
|
|
// this.item = { ...item }
|
|
|
// this.callback = () => {
|