|
@@ -76,6 +76,21 @@
|
|
|
<el-input v-model="mainForm.loginType" placeholder="请输入工程登录类型"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :xs="24" :sm="12" :lg="8">
|
|
|
+ <el-form-item label="联系人" prop="linkman">
|
|
|
+ <el-input v-model="mainForm.linkman" placeholder="请输入联系人"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="12" :lg="8">
|
|
|
+ <el-form-item label="联系电话" prop="phone">
|
|
|
+ <el-input v-model="mainForm.phone" placeholder="请输入联系电话"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="12" :lg="8">
|
|
|
+ <el-form-item label="固定电话" prop="tel">
|
|
|
+ <el-input v-model="mainForm.tel" placeholder="请输入固定电话"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :xs="24" :sm="24" :lg="16">
|
|
|
<el-form-item label="备注" prop="remark">
|
|
|
<el-input v-model="mainForm.remark" placeholder="请输入备注"></el-input>
|
|
@@ -150,7 +165,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="产品编码" prop="materialNumber" min-width="120" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="规格型号" prop="specification" min-width="200" show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column align="center" label="单位" prop="baseUnitId" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column align="center" label="单位" prop="unit" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="单价" prop="price" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="数量" prop="qty" min-width="100" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
@@ -176,7 +191,7 @@
|
|
|
</el-table>
|
|
|
<div class="add"><el-button type="text" icon="el-icon-plus" @click="addGoods">添加产品</el-button></div>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
<div class="page-footer">
|
|
|
<div class="footer" :class="classObj">
|
|
|
<el-button type="primary" @click="clickSubmitForm(1)">保 存</el-button>
|
|
@@ -214,6 +229,9 @@ export default {
|
|
|
enginNum: '',
|
|
|
factoryNum: '',
|
|
|
loginType: '',
|
|
|
+ linkman: '',
|
|
|
+ phone: '',
|
|
|
+ tel: '',
|
|
|
remark: '',
|
|
|
salesMan: '',
|
|
|
createMan: '',
|
|
@@ -245,7 +263,7 @@ export default {
|
|
|
openSidebar: this.sidebar.opened
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
|
|
|
created() {
|
|
@@ -301,6 +319,9 @@ export default {
|
|
|
this.mainForm.enginNum = data.projectNo;
|
|
|
this.mainForm.factoryNum = data.enginFactoryNo;
|
|
|
this.mainForm.loginType = data.enginSignType;
|
|
|
+ this.mainForm.linkman = data.linkman;
|
|
|
+ this.mainForm.phone = data.phone;
|
|
|
+ this.mainForm.tel = data.tel;
|
|
|
this.mainForm.remark = data.remark;
|
|
|
this.mainForm.salesMan = data.serviceId;
|
|
|
this.mainForm.createMan = data.createName;
|
|
@@ -395,7 +416,7 @@ export default {
|
|
|
|
|
|
let params = {
|
|
|
orderDate: this.mainForm.orderDate + ' 00:00:00',
|
|
|
- productCategoryId: this.mainForm.mainId,
|
|
|
+ mainId: this.mainForm.mainId,
|
|
|
projectName: this.mainForm.enginName,
|
|
|
orderType: this.mainForm.orderType,
|
|
|
useUnit: this.mainForm.company,
|
|
@@ -403,6 +424,9 @@ export default {
|
|
|
projectNo: this.mainForm.enginNum,
|
|
|
enginFactoryNo: this.mainForm.factoryNum,
|
|
|
enginSignType: this.mainForm.loginType,
|
|
|
+ linkman: this.mainForm.linkman,
|
|
|
+ phone: this.mainForm.phone,
|
|
|
+ tel: this.mainForm.tel,
|
|
|
remark: this.mainForm.remark,
|
|
|
contractExpireDate: this.mainForm.contractDate,
|
|
|
items: this.goodsList
|
|
@@ -475,4 +499,4 @@ export default {
|
|
|
::v-deep input[type='number'] {
|
|
|
-moz-appearance: textfield;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|