|
@@ -44,16 +44,15 @@
|
|
|
<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>
|
|
|
- <!-- <van-icon color="#666" name="photograph" size="24" @click="imgClick" /> -->
|
|
|
|
|
<uploadWLImg
|
|
<uploadWLImg
|
|
|
:imgArr="wuliaoPhotoImg"
|
|
:imgArr="wuliaoPhotoImg"
|
|
|
@uploadWLImgClick="uploadWLImgClick"
|
|
@uploadWLImgClick="uploadWLImgClick"
|
|
|
: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"
|
|
@@ -5758,14 +5757,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) {
|
|
|
|
|
- if (!this.wuliaoPhotoImg.length && this.needIssuePhoto == '1') {
|
|
|
|
|
- this.$toast('请上传图片');
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // 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,
|