diff --git a/src/views/qms/inspectionJob/addForm.vue b/src/views/qms/inspectionJob/addForm.vue
index 7fcdee9ed..79484f230 100644
--- a/src/views/qms/inspectionJob/addForm.vue
+++ b/src/views/qms/inspectionJob/addForm.vue
@@ -120,7 +120,7 @@
diff --git a/src/views/qms/inspectionRecord/addForm.vue b/src/views/qms/inspectionRecord/addForm.vue
index 037c9456b..7b267390b 100644
--- a/src/views/qms/inspectionRecord/addForm.vue
+++ b/src/views/qms/inspectionRecord/addForm.vue
@@ -119,7 +119,7 @@
diff --git a/src/views/qms/inspectionRecord/detail.vue b/src/views/qms/inspectionRecord/detail.vue
index a297b37d4..107b2b1f7 100644
--- a/src/views/qms/inspectionRecord/detail.vue
+++ b/src/views/qms/inspectionRecord/detail.vue
@@ -39,7 +39,7 @@
diff --git a/src/views/qms/inspectionRecordFirst/addForm.vue b/src/views/qms/inspectionRecordFirst/addForm.vue
index 4f4777f9a..bd88637f5 100644
--- a/src/views/qms/inspectionRecordFirst/addForm.vue
+++ b/src/views/qms/inspectionRecordFirst/addForm.vue
@@ -187,7 +187,7 @@
diff --git a/src/views/qms/inspectionRecordFirst/detail.vue b/src/views/qms/inspectionRecordFirst/detail.vue
index a297b37d4..107b2b1f7 100644
--- a/src/views/qms/inspectionRecordFirst/detail.vue
+++ b/src/views/qms/inspectionRecordFirst/detail.vue
@@ -39,7 +39,7 @@
diff --git a/src/views/wms/agvManage/backflushDetailbQad/backflushDetailbQad.data.ts b/src/views/wms/agvManage/backflushDetailbQad/backflushDetailbQad.data.ts
index 976b4c7b4..14b82105e 100644
--- a/src/views/wms/agvManage/backflushDetailbQad/backflushDetailbQad.data.ts
+++ b/src/views/wms/agvManage/backflushDetailbQad/backflushDetailbQad.data.ts
@@ -60,6 +60,9 @@ export const BackflushDetailbQad = useCrudSchemas(reactive([
component: 'Select',
componentProps: {
options: [{
+ value: '',
+ label: '全部'
+ },{
value: 0,
label: '未执行'
},
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/AddForm.vue
index 300bd0569..5861f5455 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/arrivalInspectionStrategy/AddForm.vue
@@ -25,12 +25,12 @@
-
+
-
+
@@ -40,7 +40,7 @@
-
+
@@ -288,17 +288,17 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.description = data.description
formData.value.priority = data.priority
formData.value.status = data.status == 0 ? true : false
- if (formData.value.priority == 0) {
- Butttondata.value = [
- defaultButtons.formSaveBtn({disabled:true}), // 保存
- defaultButtons.formCloseBtn(null) // 关闭
- ]
- } else {
+ // if (formData.value.priority == 0) {
+ // Butttondata.value = [
+ // defaultButtons.formSaveBtn({disabled:true}), // 保存
+ // defaultButtons.formCloseBtn(null) // 关闭
+ // ]
+ // } else {
Butttondata.value = [
defaultButtons.formSaveBtn(null), // 保存
defaultButtons.formCloseBtn(null) // 关闭
]
- }
+ // }
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
formData.value.condition.forEach((item, index) => {
@@ -332,10 +332,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
- if(formData.value.priority == 0){
- message.error('优先级不可以为0')
- return
- }
+ // if(formData.value.priority == 0){
+ // message.error('优先级不可以为0')
+ // return
+ // }
let list = Object.values(formData.value.configuration)
let onlyOne = list.filter((item) => {
return item == 'TRUE'
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue
index a6c88002f..3669803a3 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/batchStrategy/AddForm.vue
@@ -25,12 +25,12 @@
-
+
-
+
@@ -40,7 +40,7 @@
-
+
@@ -419,17 +419,17 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.description = data.description
formData.value.priority = data.priority
formData.value.status = data.status == 0 ? true : false
- if (formData.value.priority == 0) {
- Butttondata.value = [
- defaultButtons.formSaveBtn({ disabled: true }), // 保存
- defaultButtons.formCloseBtn(null) // 关闭
- ]
- } else {
+ // if (formData.value.priority == 0) {
+ // Butttondata.value = [
+ // defaultButtons.formSaveBtn({ disabled: true }), // 保存
+ // defaultButtons.formCloseBtn(null) // 关闭
+ // ]
+ // } else {
Butttondata.value = [
defaultButtons.formSaveBtn(null), // 保存
defaultButtons.formCloseBtn(null) // 关闭
]
- }
+ // }
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
formData.value.condition.forEach((item, index) => {
@@ -471,10 +471,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
- if (formData.value.priority == 0) {
- message.error('优先级不可以为0')
- return
- }
+ // if (formData.value.priority == 0) {
+ // message.error('优先级不可以为0')
+ // return
+ // }
if (hasSameData( formData.value.configuration.ManagementPrecision)) {
message.error('规则配置数据重复,请重新填写')
return;
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue
index a536f57b2..bd3342a71 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue
@@ -26,12 +26,12 @@
-
+
-
+
@@ -41,7 +41,7 @@
-
+
@@ -1227,10 +1227,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
- if (formData.value.priority == 0) {
- message.error('优先级不可以为0')
- return
- }
+ // if (formData.value.priority == 0) {
+ // message.error('优先级不可以为0')
+ // return
+ // }
// 提交请求
formLoading.value = true
try {
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/AddForm.vue
index b5ac08e0c..ed3a6efcf 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/inspectStrategy/AddForm.vue
@@ -26,12 +26,12 @@
-
+
-
+
@@ -41,7 +41,7 @@
-
+
@@ -427,17 +427,17 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.description = data.description
formData.value.priority = data.priority
formData.value.status = data.status == 0 ? true : false
- if (formData.value.priority == 0) {
- Butttondata.value = [
- defaultButtons.formSaveBtn({ disabled: true }), // 保存
- defaultButtons.formCloseBtn(null) // 关闭
- ]
- } else {
+ // if (formData.value.priority == 0) {
+ // Butttondata.value = [
+ // defaultButtons.formSaveBtn({ disabled: true }), // 保存
+ // defaultButtons.formCloseBtn(null) // 关闭
+ // ]
+ // } else {
Butttondata.value = [
defaultButtons.formSaveBtn(null), // 保存
defaultButtons.formCloseBtn(null) // 关闭
]
- }
+ // }
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
}
@@ -477,10 +477,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
- if (formData.value.priority == 0) {
- message.error('优先级不可以为0')
- return
- }
+ // if (formData.value.priority == 0) {
+ // message.error('优先级不可以为0')
+ // return
+ // }
if (hasSameData(formData.value.configuration.AqlList)) {
message.error('抽检规则数据范围重叠,请重新填写')
return
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/manageAccuracyStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/manageAccuracyStrategy/AddForm.vue
index bf650795a..23d8aed20 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/manageAccuracyStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/manageAccuracyStrategy/AddForm.vue
@@ -566,10 +566,10 @@ const submitForm = async () => {
const valid = await formRef.value.validate()
if (!valid) return
- if (formData.value.priority == 0) {
- message.error('优先级不可以为0')
- return
- }
+ // if (formData.value.priority == 0) {
+ // message.error('优先级不可以为0')
+ // return
+ // }
// 提交请求
formLoading.value = true
try {
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/AddForm.vue
index 715b5cff3..348c9a4a5 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/purchaseReceiptStrategy/AddForm.vue
@@ -26,12 +26,12 @@
-
+
-
+
@@ -41,7 +41,7 @@
-
+
@@ -323,18 +323,18 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.description = data.description
formData.value.priority = data.priority
formData.value.status = data.status == 0 ? true : false
- if (formData.value.priority == 0) {
- Butttondata.value = [
- defaultButtons.formSaveBtn({disabled:true}), // 保存
- defaultButtons.formCloseBtn(null) // 关闭
- ]
- console.log(Butttondata)
- } else {
+ // if (formData.value.priority == 0) {
+ // Butttondata.value = [
+ // defaultButtons.formSaveBtn({disabled:true}), // 保存
+ // defaultButtons.formCloseBtn(null) // 关闭
+ // ]
+ // console.log(Butttondata)
+ // } else {
Butttondata.value = [
defaultButtons.formSaveBtn(null), // 保存
defaultButtons.formCloseBtn(null) // 关闭
]
- }
+ // }
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
formData.value.condition.forEach((item, index) => {
@@ -368,10 +368,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
- if(formData.value.priority == 0){
- message.error('优先级不可以为0')
- return
- }
+ // if(formData.value.priority == 0){
+ // message.error('优先级不可以为0')
+ // return
+ // }
let list = Object.values(formData.value.configuration)
let onlyOne = list.filter((item) => {
return item == 'TRUE'
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/AddForm.vue
index 425e9de1b..fe388bd81 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/repairMaterialStrategy/AddForm.vue
@@ -508,10 +508,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
- if (formData.value.priority == 0) {
- message.error('优先级不可以为0')
- return
- }
+ // if (formData.value.priority == 0) {
+ // message.error('优先级不可以为0')
+ // return
+ // }
// 提交请求
formLoading.value = true
try {
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/AddForm.vue
index 5a2c0726a..8fd7d3a29 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/storageCapacityStrategy/AddForm.vue
@@ -25,12 +25,12 @@
-
+
-
+
@@ -40,7 +40,7 @@
-
+
@@ -465,17 +465,17 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.description = data.description
formData.value.priority = data.priority
formData.value.status = data.status == 0 ? true : false
- if (formData.value.priority == 0) {
- Butttondata.value = [
- defaultButtons.formSaveBtn({disabled:true}), // 保存
- defaultButtons.formCloseBtn(null) // 关闭
- ]
- } else {
+ // if (formData.value.priority == 0) {
+ // Butttondata.value = [
+ // defaultButtons.formSaveBtn({disabled:true}), // 保存
+ // defaultButtons.formCloseBtn(null) // 关闭
+ // ]
+ // } else {
Butttondata.value = [
defaultButtons.formSaveBtn(null), // 保存
defaultButtons.formCloseBtn(null) // 关闭
]
- }
+ // }
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
formData.value.condition.forEach((item, index) => {
@@ -517,10 +517,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
- if(formData.value.priority == 0){
- message.error('优先级不可以为0')
- return
- }
+ // if(formData.value.priority == 0){
+ // message.error('优先级不可以为0')
+ // return
+ // }
// 提交请求
formLoading.value = true
try {
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue
index bc92c9ffe..a8b02516b 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue
@@ -26,12 +26,12 @@
-
+
-
+
@@ -459,17 +459,17 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.description = data.description
formData.value.priority = data.priority
formData.value.status = data.status == 0 ? true : false
- if (formData.value.priority == 0) {
- Butttondata.value = [
- defaultButtons.formSaveBtn({ disabled: true }), // 保存
- defaultButtons.formCloseBtn(null) // 关闭
- ]
- } else {
+ // if (formData.value.priority == 0) {
+ // Butttondata.value = [
+ // defaultButtons.formSaveBtn({ disabled: true }), // 保存
+ // defaultButtons.formCloseBtn(null) // 关闭
+ // ]
+ // } else {
Butttondata.value = [
defaultButtons.formSaveBtn(null), // 保存
defaultButtons.formCloseBtn(null) // 关闭
]
- }
+ // }
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
formData.value.condition.forEach((item, index) => {
@@ -504,10 +504,10 @@ const submitForm = async () => {
const valid = await formRef.value.validate()
if (!valid) return
- if (formData.value.priority == 0) {
- message.error('优先级不可以为0')
- return
- }
+ // if (formData.value.priority == 0) {
+ // message.error('优先级不可以为0')
+ // return
+ // }
// 提交请求
formLoading.value = true
try {
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
index baf6aadca..f021c1c7e 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue
@@ -25,12 +25,12 @@
-
+
-
+
@@ -40,7 +40,7 @@
-
+
@@ -1093,18 +1093,18 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.description = data.description
formData.value.priority = data.priority
formData.value.status = data.status == 0 ? true : false
- if (formData.value.priority == 0) {
- Butttondata.value = [
- defaultButtons.formSaveBtn({disabled:true}), // 保存
- defaultButtons.formCloseBtn(null) // 关闭
- ]
- console.log(Butttondata)
- } else {
+ // if (formData.value.priority == 0) {
+ // Butttondata.value = [
+ // defaultButtons.formSaveBtn({disabled:true}), // 保存
+ // defaultButtons.formCloseBtn(null) // 关闭
+ // ]
+ // console.log(Butttondata)
+ // } else {
Butttondata.value = [
defaultButtons.formSaveBtn(null), // 保存
defaultButtons.formCloseBtn(null) // 关闭
]
- }
+ // }
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
formData.value.condition.forEach((item, index) => {
@@ -1195,10 +1195,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
- if(formData.value.priority == 0){
- message.error('优先级不可以为0')
- return
- }
+ // if(formData.value.priority == 0){
+ // message.error('优先级不可以为0')
+ // return
+ // }
// 提交请求
formLoading.value = true
try {
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/AddForm.vue
index 01ab5f540..69c21648d 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/utensilCapacityStrategy/AddForm.vue
@@ -25,12 +25,12 @@
-
+
-
+
@@ -40,7 +40,7 @@
-
+
@@ -329,17 +329,17 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.description = data.description
formData.value.priority = data.priority
formData.value.status = data.status == 0 ? true : false
- if (formData.value.priority == 0) {
- Butttondata.value = [
- defaultButtons.formSaveBtn({ disabled: true }), // 保存
- defaultButtons.formCloseBtn(null) // 关闭
- ]
- } else {
+ // if (formData.value.priority == 0) {
+ // Butttondata.value = [
+ // defaultButtons.formSaveBtn({ disabled: true }), // 保存
+ // defaultButtons.formCloseBtn(null) // 关闭
+ // ]
+ // } else {
Butttondata.value = [
defaultButtons.formSaveBtn(null), // 保存
defaultButtons.formCloseBtn(null) // 关闭
]
- }
+ // }
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
formData.value.condition.forEach((item, index) => {
@@ -370,10 +370,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
- if (formData.value.priority == 0) {
- message.error('优先级不可以为0')
- return
- }
+ // if (formData.value.priority == 0) {
+ // message.error('优先级不可以为0')
+ // return
+ // }
// 提交请求
formLoading.value = true
try {
diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/AddForm.vue
index 595dd95e9..91918d625 100644
--- a/src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/AddForm.vue
+++ b/src/views/wms/basicDataManage/strategySetting/strategy/warehouseStorageStrategy/AddForm.vue
@@ -25,12 +25,12 @@
-
+
-
+
@@ -40,7 +40,7 @@
-
+
@@ -418,17 +418,17 @@ const open = async (type: string, strategyCode: string, id?: number) => {
formData.value.description = data.description
formData.value.priority = data.priority
formData.value.status = data.status == 0 ? true : false
- if (formData.value.priority == 0) {
- Butttondata.value = [
- defaultButtons.formSaveBtn({disabled:true}), // 保存
- defaultButtons.formCloseBtn(null) // 关闭
- ]
- } else {
+ // if (formData.value.priority == 0) {
+ // Butttondata.value = [
+ // defaultButtons.formSaveBtn({disabled:true}), // 保存
+ // defaultButtons.formCloseBtn(null) // 关闭
+ // ]
+ // } else {
Butttondata.value = [
defaultButtons.formSaveBtn(null), // 保存
defaultButtons.formCloseBtn(null) // 关闭
]
- }
+ // }
if (data.condition) {
formData.value.condition = JSON.parse(data.condition)
formData.value.condition.forEach((item, index) => {
@@ -470,10 +470,10 @@ const submitForm = async () => {
if (!formRef) return
const valid = await formRef.value.validate()
if (!valid) return
- if(formData.value.priority == 0){
- message.error('优先级不可以为0')
- return
- }
+ // if(formData.value.priority == 0){
+ // message.error('优先级不可以为0')
+ // return
+ // }
// 提交请求
formLoading.value = true
try {
diff --git a/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts
index 19b121e50..38ceaab30 100644
--- a/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts
+++ b/src/views/wms/inventoryjobManage/scrap/scrapJobMain/scrapJobMain.data.ts
@@ -78,6 +78,9 @@ export const ScrapJobMain = useCrudSchemas(
disabled: true
}
},
+ isForm:false,
+ isTable:false,
+ isTableForm:false,
},
{
label: '领用原因代码',
@@ -331,11 +334,14 @@ export const ScrapJobMain = useCrudSchemas(
field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string',
- isTable: true,
sort: 'custom',
table: {
width: 150
- }
+ },
+ isTable: false,
+ isSearch: false,
+ isForm: false,
+ isTableForm: false,
},
{
label: '到库区类型范围',
diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts
index 23c449522..69cbd2449 100644
--- a/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts
+++ b/src/views/wms/inventoryjobManage/scrap/scrapRecordMain/scrapRecordMain.data.ts
@@ -87,6 +87,9 @@ export const ScrapRecordMain = useCrudSchemas(
disabled: true
}
},
+ isForm:false,
+ isTable:false,
+ isTableForm:false,
},
{
label: '领用原因代码',
@@ -334,11 +337,14 @@ export const ScrapRecordMain = useCrudSchemas(
field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string',
- isTable: true,
sort: 'custom',
table: {
width: 150
- }
+ },
+ isTable: false,
+ isSearch: false,
+ isForm: false,
+ isTableForm: false,
},
{
label: '从库区代码范围',
diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
index 1220f6e91..8065b3e74 100644
--- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
+++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
@@ -653,6 +653,11 @@ const submitForm = async (formType, submitData) => {
data.id = data.masterId
}
data.subList = tableData.value // 拼接子表数据参数
+ data.subList.forEach(item=>{
+ item.qty = Number(item.qty).toFixed(2)
+ item.singlePrice = Number(item.singlePrice).toFixed(2)
+ item.amount = Number(item.amount).toFixed(2)
+ })
try {
if (formType === 'create') {
console.log('【报废出库子列表】', data.subList)
diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
index 72cc661b5..df22df976 100644
--- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
+++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts
@@ -155,6 +155,7 @@ export const ScrapRequestMain = useCrudSchemas(
},
isForm:false,
isTable:false,
+ isTableForm:false,
form: {
componentProps: {
disabled: true
@@ -586,11 +587,11 @@ export const ScrapRequestMain = useCrudSchemas(
field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string',
- isTable: true,
sort: 'custom',
table: {
width: 150
},
+ isTable: false,
isSearch: false,
isForm: false,
isTableForm: false,
@@ -1079,14 +1080,14 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([
componentProps: {
disabled: true,
min: 0,
- precision: 6
+ precision: 2,
},
},
tableForm: {
disabled: true,
type: 'InputNumber',
min: 0,
- precision: 6
+ precision: 2,
}
},
{
diff --git a/src/views/wms/productionManage/productreceiptAssemble/rawMaterialConsumptionInfo/index.vue b/src/views/wms/productionManage/productreceiptAssemble/rawMaterialConsumptionInfo/index.vue
index 1a98248be..35c411919 100644
--- a/src/views/wms/productionManage/productreceiptAssemble/rawMaterialConsumptionInfo/index.vue
+++ b/src/views/wms/productionManage/productreceiptAssemble/rawMaterialConsumptionInfo/index.vue
@@ -77,7 +77,7 @@ const { getList, setSearchParams } = tableMethods
// 列表头部按钮
const HeadButttondata = [
- defaultButtons.defaultImportBtn(null), // 导入
+ // defaultButtons.defaultImportBtn(null), // 导入
defaultButtons.defaultExportBtn(null), // 导出
defaultButtons.defaultFreshBtn(null), // 刷新
defaultButtons.defaultFilterBtn(null), // 筛选