冲突合并
This commit is contained in:
commit
3cc95ec7bc
|
|
@ -44,7 +44,7 @@
|
||||||
<view
|
<view
|
||||||
style="background-color: #FCA30D;"
|
style="background-color: #FCA30D;"
|
||||||
v-show="exit.typeId == null"
|
v-show="exit.typeId == null"
|
||||||
@click="chooseMaterial(exit.agreementId, exit.id)"
|
@click="chooseMaterial(exit.agreementId, exit.id, exit.taskId)"
|
||||||
>
|
>
|
||||||
<uni-icons style="color: #fff;" type="compose" ></uni-icons>
|
<uni-icons style="color: #fff;" type="compose" ></uni-icons>
|
||||||
修改
|
修改
|
||||||
|
|
@ -227,7 +227,8 @@ import { basePath } from '../../public'
|
||||||
phone: '',
|
phone: '',
|
||||||
backTime: '',
|
backTime: '',
|
||||||
backPerson: '',
|
backPerson: '',
|
||||||
remark: ''
|
remark: '',
|
||||||
|
taskId: ''
|
||||||
},
|
},
|
||||||
fetchedList: [],
|
fetchedList: [],
|
||||||
ableRoleArr: ['admin', 'em04', 'me02', 'dm03'],
|
ableRoleArr: ['admin', 'em04', 'me02', 'dm03'],
|
||||||
|
|
@ -338,9 +339,9 @@ import { basePath } from '../../public'
|
||||||
url: `/pages/exitMaterialDetail/exitMaterialDetail?id=${id}&typeId=${typeId}`
|
url: `/pages/exitMaterialDetail/exitMaterialDetail?id=${id}&typeId=${typeId}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
chooseMaterial (agreeId, id) {
|
chooseMaterial (agreeId, id,taskId) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/exitMaterialSelect/exitMaterialSelect?agreeId=${agreeId}&id=${id}`
|
url: `/pages/exitMaterialSelect/exitMaterialSelect?agreeId=${agreeId}&id=${id}&taskId=${taskId}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
delOffer (id) {
|
delOffer (id) {
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,8 @@ import { basePath } from '../../public';
|
||||||
],
|
],
|
||||||
totalFine: '',
|
totalFine: '',
|
||||||
cartList: [],
|
cartList: [],
|
||||||
typeId: ''
|
typeId: '',
|
||||||
|
taskId:''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
@ -153,6 +154,7 @@ import { basePath } from '../../public';
|
||||||
// 提交退料清单
|
// 提交退料清单
|
||||||
that.$api.exitMaterial.subExitMaterial({
|
that.$api.exitMaterial.subExitMaterial({
|
||||||
typeId: that.typeId,
|
typeId: that.typeId,
|
||||||
|
taskId: this.taskId,
|
||||||
num: subList
|
num: subList
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
|
|
||||||
|
|
@ -69,8 +69,10 @@
|
||||||
agreementId: "",
|
agreementId: "",
|
||||||
submitList: {
|
submitList: {
|
||||||
parentId: "",
|
parentId: "",
|
||||||
|
taskId: "",
|
||||||
backApplyDetails: "",
|
backApplyDetails: "",
|
||||||
},
|
},
|
||||||
|
taskId: "",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
@ -192,9 +194,11 @@
|
||||||
);
|
);
|
||||||
let set = new Set(setArr);
|
let set = new Set(setArr);
|
||||||
console.log(set.size);
|
console.log(set.size);
|
||||||
|
|
||||||
if (set.size == 1) {
|
if (set.size == 1) {
|
||||||
that.submitList.companyId =
|
that.submitList.companyId =
|
||||||
that.submitList.backApplyDetails[0].companyId;
|
that.submitList.backApplyDetails[0].companyId;
|
||||||
|
that.submitList.taskId = that.taskId;
|
||||||
console.log(that.submitList);
|
console.log(that.submitList);
|
||||||
that.$api.exitMaterial
|
that.$api.exitMaterial
|
||||||
.subExitMaterial(that.submitList)
|
.subExitMaterial(that.submitList)
|
||||||
|
|
@ -257,6 +261,7 @@
|
||||||
console.log(params);
|
console.log(params);
|
||||||
that.agreementId = params.agreeId;
|
that.agreementId = params.agreeId;
|
||||||
that.submitList.parentId = params.id;
|
that.submitList.parentId = params.id;
|
||||||
|
that.taskId = params.taskId;
|
||||||
// 退料物料选择
|
// 退料物料选择
|
||||||
that.$api.exitMaterial
|
that.$api.exitMaterial
|
||||||
.selectMaterial({
|
.selectMaterial({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue