|
|
@@ -63,14 +63,16 @@
|
|
|
clearable
|
|
|
v-model="form.customerName"
|
|
|
:disabled="form.saleType == 3"
|
|
|
- style="width:calc(100% - 80px);"
|
|
|
+ style="width: calc(100% - 80px)"
|
|
|
/>
|
|
|
<!-- <el-button style="margin-left: 3px;" size="small" type="primary" @click.native="$refs.contactDialogRef.open()"
|
|
|
>选择
|
|
|
</el-button> -->
|
|
|
- <contactDialog style="margin-left: 3px;" @changeParent="contactDialogSuccess"></contactDialog>
|
|
|
+ <contactDialog
|
|
|
+ style="margin-left: 3px"
|
|
|
+ @changeParent="contactDialogSuccess"
|
|
|
+ ></contactDialog>
|
|
|
</el-form-item>
|
|
|
-
|
|
|
</el-col>
|
|
|
|
|
|
<el-col v-bind="styleResponsive ? { lg: 6, md: 12 } : { span: 6 }">
|
|
|
@@ -527,7 +529,8 @@
|
|
|
EquipmentDialog,
|
|
|
orderHomogeneityInspectDialog,
|
|
|
orderHomogeneityInspectInstallDialog,
|
|
|
- ProcessRoute,contactDialog
|
|
|
+ ProcessRoute,
|
|
|
+ contactDialog
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -729,11 +732,11 @@
|
|
|
this.visible = false;
|
|
|
},
|
|
|
|
|
|
- contactDialogSuccess(data){
|
|
|
- this.$set(this.form,'customerName',data.name)
|
|
|
- this.$set(this.form,'simpleName',data.simpleName)
|
|
|
- this.$set(this.form,'serialNo',data.serialNo)
|
|
|
- this.$set(this.form,'simpleName',data.simpleName)
|
|
|
+ contactDialogSuccess(data) {
|
|
|
+ this.$set(this.form, 'customerName', data.name);
|
|
|
+ this.$set(this.form, 'simpleName', data.simpleName);
|
|
|
+ this.$set(this.form, 'serialNo', data.serialNo);
|
|
|
+ this.$set(this.form, 'simpleName', data.simpleName);
|
|
|
},
|
|
|
// 表格:模数、数量(方)、块数输入框 输入事件
|
|
|
tableHandleKeyUp(row, index, e, name) {
|
|
|
@@ -1076,10 +1079,14 @@
|
|
|
this.$message.warning('请选择BOM版本');
|
|
|
return;
|
|
|
}
|
|
|
+ if (!row.contractNum) {
|
|
|
+ this.$message.warning('请输入订单数量且订单数量不能为0');
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (row.productType == 2) {
|
|
|
let data = [];
|
|
|
data.push(row);
|
|
|
- this.$refs.orderHomogeneityInspectDialog.open(data, this.form);
|
|
|
+ this.$refs.orderHomogeneityInspectDialog.open(data, this.form,'new');
|
|
|
} else if (row.productType == 3) {
|
|
|
this.$refs.orderHomogeneityInspectInstallDialog.open([row.id]);
|
|
|
} else {
|