diff --git a/klp-ui/src/views/wms/coil/do/ship.vue b/klp-ui/src/views/wms/coil/do/ship.vue
index d70f09e1..e1505dcc 100644
--- a/klp-ui/src/views/wms/coil/do/ship.vue
+++ b/klp-ui/src/views/wms/coil/do/ship.vue
@@ -213,6 +213,7 @@ export default {
// 钢卷选择器筛选参数
coilFilters: {
dataType: 1,
+ materialType: '成品'
},
coilSelectorVisible: false,
loading: false,
@@ -301,6 +302,16 @@ export default {
},
/** 提交按钮 */
submitForm() {
+ // 判断是否选择了钢卷
+ if (!this.form.coilId) {
+ this.$message.warning('请选择钢卷');
+ return;
+ }
+ // 判断钢卷的质量状态,必须是A+, A,A-, B+其中之一
+ if (!['A+', 'A', 'A-', 'B+'].includes(this.form.qualityStatus)) {
+ this.$message.warning('钢卷质量状态需在B+及以上');
+ return;
+ }
this.$refs["form"].validate(valid => {
if (valid) {
this.buttonLoading = true;
diff --git a/klp-ui/src/views/wms/coil/panels/base.vue b/klp-ui/src/views/wms/coil/panels/base.vue
index 4e8d8da5..46e05622 100644
--- a/klp-ui/src/views/wms/coil/panels/base.vue
+++ b/klp-ui/src/views/wms/coil/panels/base.vue
@@ -99,22 +99,6 @@
-
-
-
-
-
@@ -129,6 +113,14 @@
—
+
+
+
+
+
+
+
@@ -311,6 +303,10 @@ export default {
type: Boolean,
default: false,
},
+ showGrade: {
+ type: Boolean,
+ default: false,
+ },
showAbnormal: {
type: Boolean,
default: false,
@@ -318,6 +314,17 @@ export default {
},
data() {
return {
+ qualityStatusEnum: [
+ { label: 'A+', value: 'A+' },
+ { label: 'A', value: 'A' },
+ { label: 'A-', value: 'A-' },
+ { label: 'B+', value: 'B+' },
+ { label: 'B', value: 'B' },
+ { label: 'B-', value: 'B-' },
+ { label: 'C+', value: 'C+' },
+ { label: 'C', value: 'C' },
+ { label: 'C-', value: 'C-' },
+ ],
// 按钮loading
buttonLoading: false,
// 遮罩层
@@ -486,6 +493,12 @@ export default {
this.$message.error('溯源查询失败,请重试');
});
},
+ handleGradeChange(row) {
+ updateMaterialCoilSimple(row).then(res => {
+ this.$message.success('质量状态更新成功');
+ this.getList(); // 刷新列表
+ })
+ },
/** 预览标签 */
handlePreviewLabel(row) {
this.labelRender.visible = true;
diff --git a/klp-ui/src/views/wms/delivery/components/planRecord.vue b/klp-ui/src/views/wms/delivery/components/planRecord.vue
index fbad56b8..073bc5e1 100644
--- a/klp-ui/src/views/wms/delivery/components/planRecord.vue
+++ b/klp-ui/src/views/wms/delivery/components/planRecord.vue
@@ -89,7 +89,7 @@ export default {
this.getList();
}
},
- // immediate: true
+ immediate: true
}
},
methods: {
diff --git a/klp-ui/src/views/wms/delivery/grading/index.vue b/klp-ui/src/views/wms/delivery/grading/index.vue
new file mode 100644
index 00000000..97f8a364
--- /dev/null
+++ b/klp-ui/src/views/wms/delivery/grading/index.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/delivery/mycoil/index.vue b/klp-ui/src/views/wms/delivery/mycoil/index.vue
new file mode 100644
index 00000000..9f44190b
--- /dev/null
+++ b/klp-ui/src/views/wms/delivery/mycoil/index.vue
@@ -0,0 +1,329 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/delivery/record/index.vue b/klp-ui/src/views/wms/delivery/record/index.vue
new file mode 100644
index 00000000..192815ed
--- /dev/null
+++ b/klp-ui/src/views/wms/delivery/record/index.vue
@@ -0,0 +1,96 @@
+
+
+
+
+