|
@@ -44,7 +44,7 @@
|
|
|
<van-radio :name="false">不需要物料</van-radio>
|
|
<van-radio :name="false">不需要物料</van-radio>
|
|
|
<van-radio :name="true">需要物料</van-radio>
|
|
<van-radio :name="true">需要物料</van-radio>
|
|
|
</van-radio-group>
|
|
</van-radio-group>
|
|
|
- <!-- <div class="containerRight" style="padding-top: 7px">
|
|
|
|
|
|
|
+ <div class="containerRight" style="padding-top: 7px">
|
|
|
<span class="van-f-red" v-if="needIssuePhoto == '1'" style="position: absolute">*</span>
|
|
<span class="van-f-red" v-if="needIssuePhoto == '1'" style="position: absolute">*</span>
|
|
|
<uploadWLImg
|
|
<uploadWLImg
|
|
|
:imgArr="wuliaoPhotoImg"
|
|
:imgArr="wuliaoPhotoImg"
|
|
@@ -52,7 +52,7 @@
|
|
|
:visitsId="visitId"
|
|
:visitsId="visitId"
|
|
|
:taskId="taskId"
|
|
:taskId="taskId"
|
|
|
:storeGroupId="storeGroupId"></uploadWLImg>
|
|
:storeGroupId="storeGroupId"></uploadWLImg>
|
|
|
- </div> -->
|
|
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<el-table
|
|
<el-table
|
|
|
v-if="wuliaoMust"
|
|
v-if="wuliaoMust"
|
|
@@ -76,13 +76,13 @@
|
|
|
></el-table-column
|
|
></el-table-column
|
|
|
>
|
|
>
|
|
|
<el-table-column label="库存" prop="inventoryNum" align="center" />
|
|
<el-table-column label="库存" prop="inventoryNum" align="center" />
|
|
|
- <!-- <el-table-column
|
|
|
|
|
|
|
+ <el-table-column
|
|
|
label="应发本数"
|
|
label="应发本数"
|
|
|
prop="yfNum"
|
|
prop="yfNum"
|
|
|
align="center"
|
|
align="center"
|
|
|
key="yfNum"
|
|
key="yfNum"
|
|
|
width="200"
|
|
width="200"
|
|
|
- v-if="yfNumFlage" /> -->
|
|
|
|
|
|
|
+ v-if="yfNumFlage" />
|
|
|
<el-table-column class="t-center" prop="value" align="center" width="60">
|
|
<el-table-column class="t-center" prop="value" align="center" width="60">
|
|
|
<template slot="header" class="t-center">
|
|
<template slot="header" class="t-center">
|
|
|
<span>发放量</span><span class="xing">*</span>
|
|
<span>发放量</span><span class="xing">*</span>
|
|
@@ -96,9 +96,9 @@
|
|
|
/></template>
|
|
/></template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
- <!-- <div class="wuliaoPhotoImg" style="margin-top: 10px" v-if="wuliaoMust">
|
|
|
|
|
|
|
+ <div class="wuliaoPhotoImg" style="margin-top: 10px" v-if="wuliaoMust">
|
|
|
<deleteUploadImg :imgs="wuliaoPhotoImg"></deleteUploadImg>
|
|
<deleteUploadImg :imgs="wuliaoPhotoImg"></deleteUploadImg>
|
|
|
- </div> -->
|
|
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<div
|
|
<div
|
|
|
v-if="taskType == 2"
|
|
v-if="taskType == 2"
|
|
@@ -4652,7 +4652,6 @@ export default {
|
|
|
console.log(params.id);
|
|
console.log(params.id);
|
|
|
getCollectionInfos(params).then((res) => {
|
|
getCollectionInfos(params).then((res) => {
|
|
|
loading1.clear();
|
|
loading1.clear();
|
|
|
- this.infoData = res.data;
|
|
|
|
|
this.photoIdentifyType = res.data.photoIdentifyType || null;
|
|
this.photoIdentifyType = res.data.photoIdentifyType || null;
|
|
|
this.productTitles = res.data.productTitles; //产品类型表头数据
|
|
this.productTitles = res.data.productTitles; //产品类型表头数据
|
|
|
var checkUnManage = res.data;
|
|
var checkUnManage = res.data;
|
|
@@ -5187,8 +5186,8 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- // this.needIssuePhoto = res.data.needIssuePhoto;
|
|
|
|
|
- // this.wuliaoPhotoImg = res.data.fileInfoList;
|
|
|
|
|
|
|
+ this.needIssuePhoto = res.data.needIssuePhoto;
|
|
|
|
|
+ this.wuliaoPhotoImg = res.data.fileInfoList;
|
|
|
this.tableData1 = collectionItemLists;
|
|
this.tableData1 = collectionItemLists;
|
|
|
let yfNumArr = this.tableData1.filter((val) => val.yfNum);
|
|
let yfNumArr = this.tableData1.filter((val) => val.yfNum);
|
|
|
this.yfNumFlage = yfNumArr.length ? true : false;
|
|
this.yfNumFlage = yfNumArr.length ? true : false;
|
|
@@ -5757,15 +5756,15 @@ export default {
|
|
|
checkUnManage: checkUnManage,
|
|
checkUnManage: checkUnManage,
|
|
|
wuliaoMust: this.wuliaoMust,
|
|
wuliaoMust: this.wuliaoMust,
|
|
|
};
|
|
};
|
|
|
- // if (this.wuliaoMust) {
|
|
|
|
|
- // let fafangValue = this.tableData1.filter((val) => val.value);
|
|
|
|
|
- // if (fafangValue.length && this.needIssuePhoto == '1') {
|
|
|
|
|
- // if (!this.wuliaoPhotoImg || !this.wuliaoPhotoImg.length) {
|
|
|
|
|
- // this.$toast('请上传图片');
|
|
|
|
|
- // return false;
|
|
|
|
|
- // }
|
|
|
|
|
- // }
|
|
|
|
|
- // }
|
|
|
|
|
|
|
+ if (this.wuliaoMust) {
|
|
|
|
|
+ let fafangValue = this.tableData1.filter((val) => val.value);
|
|
|
|
|
+ if (fafangValue.length && this.needIssuePhoto == '1') {
|
|
|
|
|
+ if (!this.wuliaoPhotoImg || !this.wuliaoPhotoImg.length) {
|
|
|
|
|
+ this.$toast('请上传图片');
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
} else {
|
|
} else {
|
|
|
formData = {
|
|
formData = {
|
|
|
storeId: this.storeId,
|
|
storeId: this.storeId,
|