Browse Source

修改

master_hella_20240701
zhaoxuebing 9 months ago
parent
commit
a2d0dad4b9
  1. 4
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue
  2. 3
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue
  3. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

4
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue

@ -73,10 +73,10 @@
:detailButtonIsShowAdd="false" :detailButtonIsShowAdd="false"
/> />
<!-- 导入 --> <!-- 备件导入 -->
<ImportForm <ImportForm
ref="importFormRef" ref="importFormRef"
url="/wms/purchasereceipt-request-main/import" url="/wms/purchasereceipt-request-main/importSpare"
:importTemplateData="importTemplateData" :importTemplateData="importTemplateData"
@success="importSuccess" @success="importSuccess"
:updateIsDisable="true" :updateIsDisable="true"

3
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue

@ -267,7 +267,6 @@
/** 详情操作 */ /** 详情操作 */
const detailRef = ref() const detailRef = ref()
const openDetail = (row : any, titleName : any, titleValue : any) => { const openDetail = (row : any, titleName : any, titleValue : any) => {
console.log("row",row.type);
if(row.type == 'DISCRETE'){ if(row.type == 'DISCRETE'){
PurchaseDetail.allSchemas.formSchema.map((item) => { PurchaseDetail.allSchemas.formSchema.map((item) => {
if (item.field == 'orderQty') { if (item.field == 'orderQty') {
@ -451,6 +450,7 @@
if(field == 'type' && cur == 'DISCRETE'){ if(field == 'type' && cur == 'DISCRETE'){
PurchaseDetail.allSchemas.tableFormColumns.map((item) => { PurchaseDetail.allSchemas.tableFormColumns.map((item) => {
if (item.field == 'orderQty') { if (item.field == 'orderQty') {
console.log("AAAAAA",item)
item.tableForm.disabled = false item.tableForm.disabled = false
} }
}) })
@ -458,6 +458,7 @@
if(field == 'type' && cur == 'SCHEDULE'){ if(field == 'type' && cur == 'SCHEDULE'){
PurchaseDetail.allSchemas.tableFormColumns.map((item) => { PurchaseDetail.allSchemas.tableFormColumns.map((item) => {
if (item.field == 'orderQty') { if (item.field == 'orderQty') {
console.log("BBBBB",item)
item.tableForm.disabled = true item.tableForm.disabled = true
} }
}) })

2
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

@ -471,7 +471,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
type: 'InputNumber', type: 'InputNumber',
min: 1, min: 1,
precision: 6 precision: 6
} },
}, },
{ {
label: 'ERP库位', label: 'ERP库位',

Loading…
Cancel
Save