feat: 菜单按业务域重排为7组 + 预警中心更名异常告警 + AGV独立权限码与齐套测算分账明细
This commit is contained in:
@@ -203,6 +203,12 @@
|
||||
<el-form-item label="物料编码">
|
||||
<el-input v-model="shortageDlg.materialCode" clearable placeholder="图号" />
|
||||
</el-form-item>
|
||||
<el-form-item label="物料名称">
|
||||
<el-input v-model="shortageDlg.materialName" clearable placeholder="选填,留空由 MES 按物料档案带出" />
|
||||
</el-form-item>
|
||||
<el-form-item label="计量单位">
|
||||
<el-input v-model="shortageDlg.unit" clearable placeholder="选填,留空由 MES 按物料档案带出" />
|
||||
</el-form-item>
|
||||
<el-form-item label="数量">
|
||||
<el-input-number v-model="shortageDlg.qty" :min="1" />
|
||||
</el-form-item>
|
||||
@@ -422,7 +428,7 @@ async function submitCallCreate() {
|
||||
/* ===================== 2026-11-14 用户第16条:库管代补料(只提交待审批,不审批/不调额度) ===================== */
|
||||
const shortageDlg = reactive({ visible: false, stationNo: 3, productWorkNo: '', materialCode: '', qty: 1, reason: '', submitting: false })
|
||||
function openShortage() {
|
||||
Object.assign(shortageDlg, { visible: true, stationNo: 3, productWorkNo: '', materialCode: '', qty: 1, reason: '', submitting: false })
|
||||
Object.assign(shortageDlg, { visible: true, stationNo: 3, productWorkNo: '', materialCode: '', materialName: '', unit: '', qty: 1, reason: '', submitting: false })
|
||||
}
|
||||
async function submitShortage() {
|
||||
if (!shortageDlg.stationNo || !shortageDlg.materialCode.trim() || shortageDlg.qty <= 0 || !shortageDlg.reason.trim()) {
|
||||
@@ -435,6 +441,8 @@ async function submitShortage() {
|
||||
stationNo: shortageDlg.stationNo,
|
||||
productWorkNo: shortageDlg.productWorkNo.trim(),
|
||||
materialCode: shortageDlg.materialCode.trim(),
|
||||
materialName: (shortageDlg.materialName || '').trim(),
|
||||
unit: (shortageDlg.unit || '').trim(),
|
||||
qty: shortageDlg.qty,
|
||||
reason: shortageDlg.reason.trim(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user