opt:印尼打印功能新增子卷

This commit is contained in:
2026-04-23 17:00:10 +08:00
parent b166d27960
commit 340355a66b
8 changed files with 33 additions and 1 deletions

View File

@@ -135,6 +135,12 @@
<el-radio v-model="form.is_auto_table" label="1">{{ $t('wms.basedata.master.customer.yes') }}</el-radio>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :label="$t('wms.basedata.master.customer.isSingleRollSingleBox')" prop="is_single_roll_single_box">
<el-radio v-model="form.is_single_roll_single_box" label="0">{{ $t('wms.basedata.master.customer.no') }}</el-radio>
<el-radio v-model="form.is_single_roll_single_box" label="1">{{ $t('wms.basedata.master.customer.yes') }}</el-radio>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item :label="$t('wms.basedata.master.customer.salesman')" prop="sales_owner">
<el-input v-model="form.sales_owner" style="width: 200px;" />
@@ -196,6 +202,7 @@
<el-table-column prop="shd_print_no" :label="$t('wms.basedata.master.customer.deliveryNotePrintTemplatePath')" width="180px" show-overflow-tooltip />
<el-table-column prop="shd_dtl_num" :label="$t('wms.basedata.master.customer.deliveryNoteDetailCount')" width="150px" show-overflow-tooltip />
<el-table-column prop="is_auto_table" :label="$t('wms.basedata.master.customer.isAutoLabeling')" width="150px" show-overflow-tooltip :formatter="autoTable" />
<el-table-column prop="is_single_roll_single_box" :label="$t('wms.basedata.master.customer.isSingleRollSingleBox')" width="150px" show-overflow-tooltip :formatter="singleRollSingleBox" />
<el-table-column prop="update_optname" :label="$t('wms.basedata.master.customer.modifier')" width="150px" />
<el-table-column prop="update_time" :label="$t('wms.basedata.master.customer.modificationTime')" width="150" />
<el-table-column :label="$t('wms.basedata.master.customer.enabled')" align="center" prop="is_used">
@@ -278,6 +285,7 @@ const defaultForm = {
bz_print_no: null,
shd_print_no: null,
is_auto_table: '1',
is_single_roll_single_box: '0',
bz_print_within: null,
sales_owner: null
}
@@ -415,6 +423,9 @@ export default {
},
autoTable(row) {
return this.dict.label.is_used[row.is_auto_table]
},
singleRollSingleBox(row) {
return this.dict.label.is_used[row.is_single_roll_single_box]
}
}
}