|
|
@@ -670,11 +670,7 @@
|
|
|
label="计量单位"
|
|
|
prop="measuringUnit"
|
|
|
></el-table-column>
|
|
|
- <el-table-column
|
|
|
- v-if="formData.bizType == 2 || formData.bizType == 1"
|
|
|
- label="物料代号"
|
|
|
- prop="materielCode"
|
|
|
- >
|
|
|
+ <el-table-column label="物料代号" prop="materielCode">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-input
|
|
|
v-if="!row.isPack"
|
|
|
@@ -880,24 +876,16 @@
|
|
|
label="计量单位"
|
|
|
prop="measuringUnit"
|
|
|
></el-table-column>
|
|
|
- <el-table-column
|
|
|
- v-if="formData.bizType == 2"
|
|
|
- label="物料代号"
|
|
|
- prop="meterielCode"
|
|
|
- >
|
|
|
+ <el-table-column label="物料代号" prop="meterielCode">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-input
|
|
|
v-model="row.materielCode"
|
|
|
v-if="!row.isPack"
|
|
|
></el-input>
|
|
|
- <span v-else>{{ row.materialCode }}</span>
|
|
|
+ <span v-else>{{ row.materielCode }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- v-if="formData.bizType == 2 || formData.bizType == 1"
|
|
|
- label="客户代号"
|
|
|
- prop="clientCode"
|
|
|
- >
|
|
|
+ <el-table-column label="客户代号" prop="clientCode">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-input
|
|
|
v-model="row.clientCode"
|
|
|
@@ -906,33 +894,19 @@
|
|
|
<span v-else> {{ row.clientCode }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- v-if="formData.bizType == 1"
|
|
|
- label="刻码"
|
|
|
- prop="engrave"
|
|
|
- >
|
|
|
+ <el-table-column label="刻码" prop="engrave">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-input v-model="row.engrave" v-if="!row.isPack"></el-input>
|
|
|
<span v-else> {{ row.engrave }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- width="100"
|
|
|
- v-if="formData.bizType == 2 || formData.bizType == 1"
|
|
|
- label="重量"
|
|
|
- prop="weight"
|
|
|
- >
|
|
|
+ <el-table-column width="100" label="重量" prop="weight">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-input v-model="row.weight" v-if="!row.isPack"></el-input>
|
|
|
<span v-else>{{ row.weight }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- v-if="formData.bizType == 2 || formData.bizType == 1"
|
|
|
- label="重量单位"
|
|
|
- prop="weightUnit"
|
|
|
- width="100"
|
|
|
- >
|
|
|
+ <el-table-column label="重量单位" prop="weightUnit" width="100">
|
|
|
</el-table-column>
|
|
|
<el-table-column label="质检结果" prop="result" width="120">
|
|
|
<template slot-scope="{ row }">
|
|
|
@@ -1209,6 +1183,7 @@
|
|
|
.flat();
|
|
|
},
|
|
|
tableHeader() {
|
|
|
+ console.log('tableHeader--------', tableHeader(this.selectEquiType));
|
|
|
return tableHeader(this.selectEquiType);
|
|
|
}
|
|
|
},
|
|
|
@@ -1374,6 +1349,7 @@
|
|
|
// 根据编码获取物品类别信息详情
|
|
|
this.formData.sourceBizNo = this.infoData.receiveNo; // 来源单号
|
|
|
this.formData.extInfo.assetType = this.infoData.categoryLevelTopId; // 入库物品类型
|
|
|
+ this.selectEquiType = 1;
|
|
|
this.formData.bizType = '2'; // 入库场景(销售入库)
|
|
|
this.formData.type = '1'; // 出入库类型 2出库 1入库
|
|
|
this.formData.extInfo.deptName = this.user.info.deptName; // 权属部门
|