|
@@ -221,10 +221,10 @@
|
|
|
<el-checkbox v-model="row.isCheckBox" label="" /> <span style="position:relative;top:-2px"> {{getLabel(row.type)}}</span>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <el-upload :file-list="row.fileList" :action="uploadUrl" :data="uploadData" :limit="1" :list-type="'text'"
|
|
|
+ <el-upload :file-list="row.fileList" :action="uploadUrl" :data="uploadData" :limit="5" :list-type="'text'"
|
|
|
:before-upload="(file)=>handleBeforeUploadOne(file,index)" :on-success="()=>handleSuccessOne(index)"
|
|
|
:on-remove="(file)=>handleRemoveFile(file,index)" :on-preview="onPreviewFile"
|
|
|
- :on-exceed="()=>msgTip(`上传文件数量不可大于1`, 2)">
|
|
|
+ :on-exceed="()=>msgTip(`上传文件数量不可大于5`, 2)">
|
|
|
<el-button text type="primary">上传附件</el-button>
|
|
|
</el-upload>
|
|
|
</td>
|
|
@@ -920,7 +920,7 @@ const submitForm = () => {
|
|
|
formData.data.packAsk = "";
|
|
|
}
|
|
|
submitLoading.value = true;
|
|
|
- proxy.post("/productInfo/" + modalType.value, formData.data).then(
|
|
|
+ proxy.post("/extQuotationProduct/createProduct", formData.data).then(
|
|
|
(res) => {
|
|
|
proxy.msgTip("操作成功", 1);
|
|
|
dialogVisible.value = false;
|