diff --git a/SC-web/src/views/scm/basicInformation/tradeupload/Form.vue b/SC-web/src/views/scm/basicInformation/tradeupload/Form.vue
index 16d382e4..0f2d65c1 100644
--- a/SC-web/src/views/scm/basicInformation/tradeupload/Form.vue
+++ b/SC-web/src/views/scm/basicInformation/tradeupload/Form.vue
@@ -213,6 +213,7 @@
props: [],
data() {
return {
+ controll: false,
submitDisabled: false,
fileList: [],
uploadHeaders: {
@@ -453,10 +454,13 @@
mounted() {},
methods: {
imgChange(res) {
- this.dataForm.customerId = res.data.customerId;
- this.dataForm.customerName = res.data.customerName;
- this.dataForm.salesId = res.data.salesId;
- this.dataForm.salesName = res.data.salesName;
+ debugger
+ if (!this.controll){
+ this.dataForm.customerId = res.data.customerId;
+ this.dataForm.customerName = res.data.customerName;
+ this.dataForm.salesId = res.data.salesId;
+ this.dataForm.salesName = res.data.salesName;
+ }
this.dataForm.vehicleId = res.data.vehicleId;
this.dataForm.poundDate = res.data.poundDate;
this.dataForm.poundlistNo = res.data.poundlistNo;
@@ -556,6 +560,7 @@
}
},
init(id, isDetail) {
+ this.controll=false;
this.value = [];
this.dataForm.id = id || 0;
this.visible = true;
@@ -663,6 +668,7 @@
type: 'success',
duration: 1000,
onClose: () => {
+ this.controll = true;
this.submitDisabled = false;
this.dataForm.id = '';
this.dataForm.tareWeight = 0; //皮重
@@ -687,6 +693,7 @@
type: 'success',
duration: 1000,
onClose: () => {
+ this.controll = true;
this.submitDisabled = false;
this.dataForm.id = '';
this.dataForm.tareWeight = 0; //皮重
diff --git a/SC-web/src/views/scm/basicInformation/tradeupload/Form4.vue b/SC-web/src/views/scm/basicInformation/tradeupload/Form4.vue
new file mode 100644
index 00000000..72aa92f9
--- /dev/null
+++ b/SC-web/src/views/scm/basicInformation/tradeupload/Form4.vue
@@ -0,0 +1,890 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SC-web/src/views/scm/basicInformation/tradeupload/index.vue b/SC-web/src/views/scm/basicInformation/tradeupload/index.vue
index 7e05c183..ba0375da 100644
--- a/SC-web/src/views/scm/basicInformation/tradeupload/index.vue
+++ b/SC-web/src/views/scm/basicInformation/tradeupload/index.vue
@@ -161,7 +161,7 @@
@click="addOrUpdateHandle2(scope.row.id)" v-has="'btn_addOrUpdateHandle2'">审核
编辑
+ @click="addOrUpdateHandle3(scope.row.id)" v-has="'btn_edit'">编辑
删除
@@ -178,6 +178,7 @@
+
@@ -189,13 +190,14 @@
import JNPFForm from './Form'
import JNPFForm2 from './Form2'
import JNPFForm3 from './Form3'
+ import JNPFForm4 from './Form4'
import ExportBox from './ExportBox'
import { getDataInterfaceRes } from '@/api/systemData/dataInterface'
import Detail from './Detail'
export default {
- components: { JNPFForm, JNPFForm2, JNPFForm3, ExportBox, Detail },
+ components: { JNPFForm, JNPFForm2, JNPFForm3, JNPFForm4, ExportBox, Detail },
data() {
return {
showAll: false,
@@ -221,6 +223,7 @@
formVisible: false,
formVisible2: false,
formVisible3: false,
+ formVisible4: false,
exportBoxVisible: false,
columnList: [
{ prop: 'creatorTime', label: '磅单日期' },
@@ -367,6 +370,12 @@
this.$refs.JNPFForm2.init(id, isDetail)
})
},
+ addOrUpdateHandle3(id, isDetail) {
+ this.formVisible4 = true
+ this.$nextTick(() => {
+ this.$refs.JNPFForm4.init(id, isDetail)
+ })
+ },
exportData() {
this.exportBoxVisible = true
this.$nextTick(() => {
@@ -404,7 +413,11 @@
if (isrRefresh) this.reset()
},
refresh3(isrRefresh) {
- this.formVisible2 = false
+ this.formVisible3 = false
+ if (isrRefresh) this.reset()
+ },
+ refresh4(isrRefresh) {
+ this.formVisible4 = false
if (isrRefresh) this.reset()
},
reset() {
@@ -413,7 +426,7 @@
// }
this.search()
},
- reset() {
+ resetAll() {
for (let key in this.query) {
this.query[key] = undefined
}