Browse Source

供应商发票新增问题修复

master
zhaoxuebing 11 months ago
parent
commit
833d1df95d
  1. 4
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue
  2. 18
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

4
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -90,6 +90,10 @@
row['poNumber'] = val[0]['poNumber'] row['poNumber'] = val[0]['poNumber']
row['poLine'] = val[0]['poLine'] row['poLine'] = val[0]['poLine']
row['itemCode'] = val[0]['itemCode'] row['itemCode'] = val[0]['itemCode']
row['ownerCode'] = val[0]['ownerCode']
row['batch'] = val[0]['batch']
row['singlePrice'] = val[0]['singlePrice']
row['amount'] = val[0]['amount']
} }
} else { } else {
const setV = {} const setV = {}

18
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -576,10 +576,6 @@ export const SupplierinvoiceRequestDetailRules = reactive({
packingNumber: [ packingNumber: [
{ required: true, message: '请输入包装号', trigger: 'blur' } { required: true, message: '请输入包装号', trigger: 'blur' }
], ],
batch: [
{ required: true, message: '请输入批次', trigger: 'blur' },
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
poNumber: [ poNumber: [
{ required: true, message: '请输入订单号', trigger: 'blur' } { required: true, message: '请输入订单号', trigger: 'blur' }
], ],
@ -597,17 +593,5 @@ export const SupplierinvoiceRequestDetailRules = reactive({
], ],
itemCode: [ itemCode: [
{ required: true, message: '请输入物品代码', trigger: 'blur' } { required: true, message: '请输入物品代码', trigger: 'blur' }
], ]
ownerCode: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
singlePrice: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
amount: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
remark: [
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }
],
}) })

Loading…
Cancel
Save