diff --git a/src/views/quality/productReport/index.vue b/src/views/quality/productReport/index.vue
index 5d0b65f..679dcfe 100644
--- a/src/views/quality/productReport/index.vue
+++ b/src/views/quality/productReport/index.vue
@@ -138,134 +138,106 @@
成品检验报告
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ {{form.materialName}}
+ {{form.quality}}
+ {{form.checkNo}}
+
+ {{form.materialCode}}
+ {{form.checkLoc}}
+ {{form.createTime}}
+
+ {{form.incomeBatchNo}}
+ {{form.standardNo}}
+ {{form.checkTime}}
+
+
+
+ 包装检验项目
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- {{ parseTime(form.checkTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
-
-
-
-
-
-
- {{ parseTime(form.checkTime, '{y}-{m}-{d} {h}:{i}:{s}') }}
-
-
-
-
-
-
-
-
-
-
+
+
+ 内容物分析项目
+
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
- {{ getCodeValue(scope.row.defectCode) }}
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
- 合格
-
-
- 不合格
-
-
-
-
+
+
+
+
+
+ 合格
+ 不合格
+
+
+
+ 判定合格打“√”,不合格打“×”
+
+
+
+
+
+
+
-
+
-
+
-
-
-
+
+
+ {{form.checkManName}}
@@ -358,13 +330,27 @@ export default {
factoryCode: null,
},
// 表单参数
- form: {},
+ form: {checkedValues:[]},
checkTypes:[],
// 表单校验
rules: {
/* incomeBatchNo: [
{ required: true, message: "来料批次号不能为空", trigger: "blur" }
], */
+ },
+ content_style: {
+ 'text-align': 'center',
+ 'min-width': '200px',
+ 'word-break': 'break-all'
+ },
+ label_style: {
+ 'color': '#000',
+ 'text-align': 'center',
+ 'font-weight': '600',
+ 'height': '40px',
+ 'background-color': '#d6dbe1',
+ 'min-width': '100px',
+ 'word-break': 'keep-all'
}
};
},
@@ -481,6 +467,9 @@ export default {
this.queryParams.recordId = recordId;
getProduct(recordId).then(response => {
this.form = response.data;
+ let checkedValues0 =[];
+ checkedValues0.push(response.data.checkResult)
+ this.form.checkedValues = ['Y'];
this.form.printable = 'printFrom'; //打印时需要
this.form.ignore = ['no-print'];//打印时需要
this.open = true;
@@ -529,7 +518,18 @@ export default {
getCheckedProjectList(){
this.loading = true;
getCkeckProjectList(this.queryParams).then((response) => {
- this.checkProjectList = response.rows;
+ const itemType1s=[];
+ const itemType0s=[];
+ response.rows.forEach(item=>{
+ if (item.itemType == '1') {
+ itemType1s.push(item);
+ }else if(item.itemType == '0'){
+ itemType0s.push(item);
+ }
+ })
+
+ this.checkProjectList = itemType1s;
+ this.checkProjectList0 = itemType0s;
this.total = response.total;
this.loading = false;
this.form.standardNo = this.checkProjectList[0].standardNo;
@@ -576,4 +576,18 @@ export default {
margin-left: 15px;
height: 38px;
}
+.my-description-item1 {
+ width: 280px; /* 或者你想要的任何宽度 */
+}
+.my-description-item2 {
+ width: 120px; /* 或者你想要的任何宽度 */
+}
+.my-description-item3 {
+ width: 80px; /* 或者你想要的任何宽度 */
+}
+.border-row {
+ border: 1px solid #d3dce6; /* 边框颜色可以根据需要自定义 */
+ text-align:center;
+}
+
\ No newline at end of file
diff --git a/src/views/quality/qcWarehousing/index.vue b/src/views/quality/qcWarehousing/index.vue
index cf5dbb9..dd8ab06 100644
--- a/src/views/quality/qcWarehousing/index.vue
+++ b/src/views/quality/qcWarehousing/index.vue
@@ -458,9 +458,6 @@ export default {
form: {},
// 表单校验
rules: {
- incomeBatchNo: [
- { required: true, message: "批次号不能为空", trigger: "blur" }
- ],
orderNo: [
{ required: true, message: "订单号不能为空", trigger: "blur" }
],
diff --git a/src/views/wms/equipment/index.vue b/src/views/wms/equipment/index.vue
index dd799af..dce9e9a 100644
--- a/src/views/wms/equipment/index.vue
+++ b/src/views/wms/equipment/index.vue
@@ -189,7 +189,7 @@
label="设备编码"
align="center"
prop="equipmentCode"
- width="150"
+ width="100"
fixed="left"
>
@@ -205,7 +205,7 @@
label="设备名称"
align="center"
prop="equipmentName"
- width="300"
+ width="200"
/>
-
+
{{
form.workshopSection
}}
- {{
+ {{
form.unitWorkingHours
}}
{{