更新
This commit is contained in:
@@ -543,7 +543,7 @@
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="供应商名称" prop="供应商名称">
|
||||
<el-select v-model="form2.供应商名称" style="width:150px" placeholder="供应商" size="small" filterable>
|
||||
<el-select v-model="form2.供应商流水号" style="width:150px" placeholder="供应商" size="small" filterable>
|
||||
<el-option
|
||||
v-for="item in supplierNames"
|
||||
:key="item.value"
|
||||
@@ -823,6 +823,7 @@ export default {
|
||||
created() {
|
||||
this.getPerson()
|
||||
this.projectChange()
|
||||
this.getSupplier1()
|
||||
// this.searchTable2()
|
||||
this.searchTable11()
|
||||
this.initDirection()
|
||||
@@ -1082,7 +1083,6 @@ export default {
|
||||
if (this.$refs['form2'] !== undefined) {
|
||||
this.$refs['form2'].resetFields()
|
||||
}
|
||||
this.getSupplier1()
|
||||
this.title2 = '创建离线合同'
|
||||
getBillNum().then(response => { // 查询询价单号
|
||||
this.form2.离线合同编号 = response.data[0].单号
|
||||
@@ -1095,8 +1095,6 @@ export default {
|
||||
})
|
||||
},
|
||||
getSupplier1() {
|
||||
this.supplierNames = []
|
||||
this.form2.供应商名称 = ''
|
||||
searchSupplier1(0, '', 0, '', 0, '', 0, '', 0, '', 0, '', 0, '', 0, '', 0, '', 0, '', 0, '', 0, '').then(response => {
|
||||
for (let i = 0; i < response.data.length; i++) {
|
||||
this.supplierNames.push({
|
||||
@@ -1142,7 +1140,7 @@ export default {
|
||||
this.form2.离线合同流水号 = row.离线合同流水号
|
||||
this.form2.离线合同编号 = row.离线合同编号
|
||||
this.form2.离线合同名称 = row.离线合同名称
|
||||
this.form2.供应商流水号 = row.供应商流水号
|
||||
this.form2.供应商流水号 = parseInt(row.供应商流水号)
|
||||
this.form2.供应商名称 = row.供应商名称
|
||||
this.form2.规定到货时间 = row.规定到货时间
|
||||
this.form2.离线合同备注 = row.离线合同备注
|
||||
|
||||
Reference in New Issue
Block a user