|
@@ -727,6 +727,11 @@
|
|
|
<span>{{ scope.row.source }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="容重(kg/m³)" min-width="130px" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input v-model="scope.row.volume" style="width:95%;padding:10px 0;" :disabled="detail.disabled" />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="备注" min-width="130px" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input v-model="scope.row.remark" type="textarea" :autosize="{ minRows: 1.3, maxRows: 4}" maxlength="32" style="width:95%;padding:10px 0;" :disabled="detail.disabled" />
|
|
@@ -1110,7 +1115,7 @@ export default {
|
|
|
},
|
|
|
// 设置上传地址
|
|
|
uploadExcelUrl() {
|
|
|
- return process.env.VUE_APP_BASE_API + 'authdata/ImportExcel'
|
|
|
+ return Cookies.get('url') + 'authdata/ImportExcel'
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -2980,7 +2985,7 @@ export default {
|
|
|
this.detail.dialogFormVisible = true
|
|
|
this.detail.list = this.selectList2
|
|
|
this.detail.disabled = false
|
|
|
- this.detail.list2 = [{ tname: '', tcolor: '#ccc', ccid: '', fttype: '预混配方', fttypeid: '2', source: '自定义', remark: '', 'enable': 1 }]
|
|
|
+ this.detail.list2 = [{ tname: '', tcolor: '#ccc', ccid: '', fttype: '预混配方', fttypeid: '2', source: '自定义', remark: '', 'enable': 1,volume:'' }]
|
|
|
setTimeout(() => {
|
|
|
this.detail.listLoading = false
|
|
|
}, 100)
|
|
@@ -2990,7 +2995,7 @@ export default {
|
|
|
this.detail.dialogFormVisible = true
|
|
|
this.detail.list = this.selectList2
|
|
|
this.detail.disabled = false
|
|
|
- this.detail.list2 = [{ tname: '', tcolor: '#ccc', ccid: '', fttype: '预混配方', fttypeid: '2', source: '自定义', remark: '', 'enable': 1 }]
|
|
|
+ this.detail.list2 = [{ tname: '', tcolor: '#ccc', ccid: '', fttype: '预混配方', fttypeid: '2', source: '自定义', remark: '', 'enable': 1,volume:'' }]
|
|
|
setTimeout(() => {
|
|
|
this.detail.listLoading = false
|
|
|
}, 100)
|
|
@@ -3001,7 +3006,7 @@ export default {
|
|
|
this.detail.dialogFormVisible = true
|
|
|
this.detail.list = this.selectList2
|
|
|
this.detail.disabled = false
|
|
|
- this.detail.list2 = [{ tname: '', tcolor: '#ccc', ccid: '', fttype: '预混配方', fttypeid: '2', source: '自定义', remark: '', 'enable': 1 }]
|
|
|
+ this.detail.list2 = [{ tname: '', tcolor: '#ccc', ccid: '', fttype: '预混配方', fttypeid: '2', source: '自定义', remark: '', 'enable': 1,volume:'' }]
|
|
|
setTimeout(() => {
|
|
|
this.detail.listLoading = false
|
|
|
}, 100)
|
|
@@ -3012,7 +3017,7 @@ export default {
|
|
|
this.detail.dialogFormVisible = true
|
|
|
this.detail.list = this.selectList2
|
|
|
this.detail.disabled = false
|
|
|
- this.detail.list2 = [{ tname: '', tcolor: '#ccc', ccid: '', fttype: '预混配方', fttypeid: '2', source: '自定义', remark: '', 'enable': 1 }]
|
|
|
+ this.detail.list2 = [{ tname: '', tcolor: '#ccc', ccid: '', fttype: '预混配方', fttypeid: '2', source: '自定义', remark: '', 'enable': 1,volume:'' }]
|
|
|
setTimeout(() => {
|
|
|
this.detail.listLoading = false
|
|
|
}, 100)
|
|
@@ -3120,7 +3125,8 @@ export default {
|
|
|
fttypeid: this.detail.list2[0].fttypeid,
|
|
|
source: this.detail.list2[0].source,
|
|
|
remark: this.detail.list2[0].remark,
|
|
|
- enable: this.detail.list2[0].enable
|
|
|
+ enable: this.detail.list2[0].enable,
|
|
|
+ volume:this.detail.list2[0].volume
|
|
|
}}
|
|
|
this.requestParam.data[1] = { 'name': 'insertSpotList', 'resultmaps': { 'list': this.detail.list }}
|
|
|
this.requestParam.data[1].children = []
|