feat: 优化物料类型选择逻辑和表格配置

添加物料类型选择逻辑,根据原料或产品类型设置selectType
调整表格树形配置,无分组条件时禁用树形显示
移除调拨状态列和必填备注校验,自动生成调拨单号和时间
This commit is contained in:
砂糖
2026-04-03 16:26:39 +08:00
parent ba3d2c2b35
commit 31d79a6c53
3 changed files with 31 additions and 6 deletions

View File

@@ -1013,6 +1013,7 @@ export default {
if (this.showWaybill) {
const { shipmentTime, ...query } = {
...this.queryParams,
selectType: this.querys.materialType === '原料' ? 'raw_material' : 'product',
startTime: this.queryParams.shipmentTime?.[0],
endTime: this.queryParams.shipmentTime?.[1],
}