|
@@ -377,6 +377,7 @@
|
|
|
},
|
|
|
created(){
|
|
|
this.getOption()
|
|
|
+ this.getRemarks()
|
|
|
},
|
|
|
methods: {
|
|
|
// 获取表头信息
|
|
@@ -409,6 +410,12 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ getRemarks(){
|
|
|
+ getAction('/sys/dict/getByCodeDict', {table:'sys_dict',text:'description',code:'dict_code',key:'remarks'}).then((res) => {
|
|
|
+ var arr = res.split(' ')
|
|
|
+ this.formState.demo = arr[0]+'\n'+arr[1]+'\n'+arr[2]+'\n'+arr[3]
|
|
|
+ })
|
|
|
+ },
|
|
|
// 计划员模糊查询
|
|
|
filterOption(input, option) {
|
|
|
return (
|
|
@@ -417,11 +424,7 @@
|
|
|
.indexOf(input.toLowerCase()) >= 0
|
|
|
)},
|
|
|
//增行
|
|
|
- async addList(){
|
|
|
- var remarks = ''
|
|
|
- await getAction('/sys/dict/getByCodeDict', {table:'sys_dict',text:'description',code:'dict_code',key:'remarks'}).then((res) => {
|
|
|
- remarks = res
|
|
|
- })
|
|
|
+ addList(){
|
|
|
this.syCarryBTable.dataSource.push({
|
|
|
orderDate:'',
|
|
|
allNum:'',
|
|
@@ -614,6 +617,7 @@
|
|
|
this.formState = {}
|
|
|
this.visible = false
|
|
|
this.defultMethods='add'
|
|
|
+ this.getRemarks()
|
|
|
this.$emit('close')
|
|
|
},
|
|
|
// 价格改变
|