修改
This commit is contained in:
@@ -302,6 +302,8 @@
|
||||
<el-table-column prop="is_CXJ006" label="白油" align="center" width="80px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CXJ007" label="油酸" align="center" width="80px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CXJ008" label="8号分散剂" align="center" width="80px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CJZB00021" label="碳化铬%" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CJZB00020" label="碳化钒%" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column align="center" label="操作" width="270" fixed="right">
|
||||
<template scope="scope">
|
||||
<el-button :disabled="scope.row.edit || scope.row.status!='10'" type="danger" class="filter-item" size="mini" icon="el-icon-delete" @click.native.prevent="deleteRow(scope.$index,tableDtl)" />
|
||||
@@ -794,7 +796,7 @@ export default {
|
||||
}
|
||||
}
|
||||
if (!this.flagnow) {
|
||||
const row = { edit: false, status:'10', is_rf_xl: '1', bucket_type: '01', material_type: '01', material_id: '', material_code: '',
|
||||
const row = { edit: false, status:'10', is_rf_xl: '1', bucket_type: '01', material_type: '01', material_id: '', material_code: '',is_CJZB00021: '',is_CJZB00020: '',
|
||||
material_name: '', pcsn: '', quality_scode: '',need_sum_qty:'0', ivt_level: '', is_active: '', formula_qty: '0', sum_ivt_qty: '', is_need_move: '', is_need_manage: '1', is_add: '1', is_tan: '', is_09030102: '', qty_unit_id: '', qty_unit_name: '' }
|
||||
row.material_id = item.material_id
|
||||
row.quality_scode = item.quality_scode
|
||||
@@ -820,10 +822,12 @@ export default {
|
||||
row.is_need_move = item.is_need_move
|
||||
row.qty_unit_id = item.qty_unit_id
|
||||
row.qty_unit_name = item.qty_unit_name
|
||||
row.is_CJZB00020 = item.is_CJZB00020
|
||||
row.is_CJZB00021 = item.is_CJZB00021
|
||||
tablemap.set(item.material_id+"--"+item.quality_scode+"--"+item.pcsn+"--"+item.is_active+"--"+item.ivt_level, row)
|
||||
}
|
||||
} else {
|
||||
const row = { edit: false, status:'10', is_rf_xl: '1', bucket_type: '01', material_type: '01', material_id: '', material_code: '',
|
||||
const row = { edit: false, status:'10', is_rf_xl: '1', bucket_type: '01', material_type: '01', material_id: '', material_code: '',is_CJZB00021: '',is_CJZB00020: '',
|
||||
material_name: '', pcsn: '', quality_scode: '',need_sum_qty:'0', ivt_level: '', is_active: '', formula_qty: '0', sum_ivt_qty: '', is_need_move: '', is_need_manage: '1', is_add: '1', is_tan: '', is_09030102: '', qty_unit_id: '', qty_unit_name: '' }
|
||||
row.material_id = item.material_id
|
||||
row.quality_scode = item.quality_scode
|
||||
@@ -849,6 +853,8 @@ export default {
|
||||
row.is_need_move = item.is_need_move
|
||||
row.qty_unit_id = item.qty_unit_id
|
||||
row.qty_unit_name = item.qty_unit_name
|
||||
row.is_CJZB00020 = item.is_CJZB00020
|
||||
row.is_CJZB00021 = item.is_CJZB00021
|
||||
tablemap.set(item.material_id+"--"+item.quality_scode+"--"+item.pcsn+"--"+item.is_active+"--"+item.ivt_level, row)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -203,6 +203,8 @@
|
||||
<el-table-column prop="is_CXJ006" label="白油" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CXJ007" label="油酸" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CXJ008" label="8号分散剂" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CJZB00021" label="碳化铬%" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CJZB00020" label="碳化钒%" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
</el-table>
|
||||
</el-card>
|
||||
<div class="crud-opts2" v-if="form.bucket_type==='02'">
|
||||
@@ -264,15 +266,16 @@
|
||||
<el-table-column prop="is_CXJ006" label="白油" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CXJ007" label="油酸" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CXJ008" label="8号分散剂" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CJZB00021" label="碳化铬%" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
<el-table-column prop="is_CJZB00020" label="碳化钒%" align="center" width="100px" :formatter="crud.formatQlNum4"/>
|
||||
</el-table>
|
||||
</el-card>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import CRUD, { crud } from '@crud/crud'
|
||||
import { crud } from '@crud/crud'
|
||||
import formula from '@/api/wms/pf/formula'
|
||||
import autoformula from "@/api/wms/pf/autoformula";
|
||||
export default {
|
||||
name: 'ViewDialog',
|
||||
mixins: [crud()],
|
||||
@@ -292,7 +295,7 @@ export default {
|
||||
tableDtl: [],
|
||||
mstrow: {},
|
||||
tabledis: [],
|
||||
form :{},
|
||||
form: {},
|
||||
form2: {
|
||||
total_qty1: '0',
|
||||
add_qty1: '0',
|
||||
|
||||
Reference in New Issue
Block a user