|
@@ -343,6 +343,37 @@
|
|
<span v-else>{{ nameObj.transportType.obj[scope.row.transportType] ? nameObj.transportType.obj[scope.row.transportType].name : scope.row.transportType }}</span>
|
|
<span v-else>{{ nameObj.transportType.obj[scope.row.transportType] ? nameObj.transportType.obj[scope.row.transportType].name : scope.row.transportType }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ prop="purpose"
|
|
|
|
+ label="用途"
|
|
|
|
+ width="87px"
|
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
|
+ v-if="filterForm.data.gx === 'GX'"
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="scope.row.seq + '.purpose'"
|
|
|
|
+ v-if=" !isCheck && scope.row.isSelection && scope.row.state !== '2'"
|
|
|
|
+ :rules="tableFormRules.purpose"
|
|
|
|
+ >
|
|
|
|
+ <el-select
|
|
|
|
+ allow-create
|
|
|
|
+ filterable
|
|
|
|
+ clearable
|
|
|
|
+ v-model="tableFormDataObj[scope.row.seq].purpose"
|
|
|
|
+ placeholder=""
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item of nameObj.purpose.arr"
|
|
|
|
+ :key="item.id"
|
|
|
|
+ :value="item.name"
|
|
|
|
+ :label="item.name"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <span v-else>{{ nameObj.purpose.obj[scope.row.purpose] ? nameObj.purpose.obj[scope.row.purpose].name : scope.row.purpose }}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
prop="receivetime"
|
|
prop="receivetime"
|
|
label="接收时间"
|
|
label="接收时间"
|
|
@@ -510,7 +541,29 @@
|
|
<el-option
|
|
<el-option
|
|
v-for="item of nameObj.transportType.arr"
|
|
v-for="item of nameObj.transportType.arr"
|
|
:key="item.id"
|
|
:key="item.id"
|
|
- :value="item.id"
|
|
|
|
|
|
+ :value="item.name"
|
|
|
|
+ :label="item.name"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="12">
|
|
|
|
+ <el-form-item
|
|
|
|
+ label="用途"
|
|
|
|
+ prop="purpose"
|
|
|
|
+ v-if="filterForm.data.gx === 'GX'"
|
|
|
|
+ >
|
|
|
|
+ <el-select
|
|
|
|
+ filterable clearable
|
|
|
|
+ v-model="dialog.editorBox.form.data.purpose"
|
|
|
|
+ placeholder=""
|
|
|
|
+ :rules="dialog.editorBox.form.purpose"
|
|
|
|
+ style="width: 100%;"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item of nameObj.purpose.arr"
|
|
|
|
+ :key="item.id"
|
|
|
|
+ :value="item.name"
|
|
:label="item.name"
|
|
:label="item.name"
|
|
></el-option>
|
|
></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
@@ -887,6 +940,27 @@ export default {
|
|
arr: [],
|
|
arr: [],
|
|
showDataArr: []
|
|
showDataArr: []
|
|
},
|
|
},
|
|
|
|
+ purpose: {
|
|
|
|
+ obj: {
|
|
|
|
+ '0': {name: '标准件'},
|
|
|
|
+ '1': {name: '铁丝'},
|
|
|
|
+ '2': {name: '钢丝、弹簧'}
|
|
|
|
+ },
|
|
|
|
+ arr: [
|
|
|
|
+ {
|
|
|
|
+ id: '0',
|
|
|
|
+ name: '标准件'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id: '1',
|
|
|
|
+ name: '铁丝'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ id: '2',
|
|
|
|
+ name: '钢丝、弹簧'
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
locateid: {
|
|
locateid: {
|
|
obj: {},
|
|
obj: {},
|
|
arr: []
|
|
arr: []
|
|
@@ -1244,6 +1318,7 @@ export default {
|
|
memo: that.dialog.editorBox.form.data.memo,
|
|
memo: that.dialog.editorBox.form.data.memo,
|
|
workprocType: that.filterForm.data.workproc_type,
|
|
workprocType: that.filterForm.data.workproc_type,
|
|
lengths: that.dialog.editorBox.form.data.lengths,
|
|
lengths: that.dialog.editorBox.form.data.lengths,
|
|
|
|
+ purpose: that.dialog.editorBox.form.data.purpose,
|
|
iateralArea: that.dialog.editorBox.form.data.iateralArea,
|
|
iateralArea: that.dialog.editorBox.form.data.iateralArea,
|
|
lengthTimesWidth: that.dialog.editorBox.form.data.lengthTimesWidth,
|
|
lengthTimesWidth: that.dialog.editorBox.form.data.lengthTimesWidth,
|
|
dimension: that.dialog.editorBox.form.data.dimension,
|
|
dimension: that.dialog.editorBox.form.data.dimension,
|
|
@@ -1725,6 +1800,7 @@ export default {
|
|
chemicalStandard: that.tableFormDataObj[key].chemicalStandard,
|
|
chemicalStandard: that.tableFormDataObj[key].chemicalStandard,
|
|
planWeight: that.tableFormDataObj[key].planweight,
|
|
planWeight: that.tableFormDataObj[key].planweight,
|
|
createTime: that.tableFormDataObj[key].createtime,
|
|
createTime: that.tableFormDataObj[key].createtime,
|
|
|
|
+ purpose: that.tableFormDataObj[key].purpose,
|
|
createMan: that.tableFormDataObj[key].createman,
|
|
createMan: that.tableFormDataObj[key].createman,
|
|
updateTime: that.tableFormDataObj[key].updatetime,
|
|
updateTime: that.tableFormDataObj[key].updatetime,
|
|
updateMan: that.tableFormDataObj[key].updateman,
|
|
updateMan: that.tableFormDataObj[key].updateman,
|