liuchen864 11 months ago
parent
commit
bced10a32d
  1. 5
      src/views/wms/basicDataManage/itemManage/bom/bom.data.ts
  2. 2
      src/views/wms/basicDataManage/itemManage/bom/index.vue
  3. 4
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/index.vue
  4. 24
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
  5. 3
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue
  6. 2
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts
  7. 4
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue

5
src/views/wms/basicDataManage/itemManage/bom/bom.data.ts

@ -123,7 +123,10 @@ export const Bom = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '版本',
field: 'version',
sort: 'custom'
sort: 'custom',
form: {
labelMessage: '子物品要和父物品版本相同',
}
},
{
label: '层级',

2
src/views/wms/basicDataManage/itemManage/bom/index.vue

@ -67,7 +67,7 @@ import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
//
// bom
defineOptions({ name: 'Bom' })
const message = useMessage() //

4
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/index.vue

@ -214,7 +214,7 @@ const buttonTableClick = async (val, row) => {
console.log(err)
})
} else if (val == 'mainSubmit') { //
await message.confirm('确认要重新添加吗?')
await message.confirm('确认要提交审批吗?')
CustomerreceiptRequestMainApi.submit(row.id).then(() => {
message.success(t('common.updateSuccess'))
getList()
@ -222,7 +222,7 @@ const buttonTableClick = async (val, row) => {
console.log(err)
})
} else if (val == 'mainTurnDown') { //
await message.confirm('确认要重新添加吗?')
await message.confirm('确认要驳回吗?')
CustomerreceiptRequestMainApi.refused(row.id).then(() => {
message.success(t('common.updateSuccess'))
getList()

24
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

@ -117,19 +117,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isSearch: true,
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择客户代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '客户信息', // 查询弹窗标题
searchAllSchemas: Customer.allSchemas, // 查询弹窗所需类
searchPage: CustomerApi.getCustomerPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
disabled: true
}
}
},
@ -154,6 +143,11 @@ export const DeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
key: 'available',
value: 'TRUE',
isMainValue: false
},
{
key: 'customerCode',
value: 'customerCode',
isMainValue: true
}]
}
}
@ -527,9 +521,9 @@ export const DeliverRequestMainRules = reactive({
// toLocationTypes: [
// { required: true, message: '请选择到库位类型范围', trigger: 'change' }
// ],
deliverPlanNumber: [
{ required: true, message: '请选择发货计划单号', trigger: 'change' }
],
// deliverPlanNumber: [
// { required: true, message: '请选择发货计划单号', trigger: 'change' }
// ],
departmentCode: [
{ required: true, message: '请输入部门', trigger: 'blur' }
],

3
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue

@ -130,9 +130,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
item.tableForm.isInpuFocusShow = false
item.tableForm.disabled = true
}
if(item.field == 'qty') {
item.tableForm.disabled = true
}
if(item.field == 'uom') {
item.tableForm.disabled = true
}

2
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts

@ -369,7 +369,7 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
form: {
componentProps: {
isInpuFocusShow: true,
isSearchList: true,
searchListPlaceholder: '请选择物品代码',
searchField: 'code',
searchTitle: '物品基础信息',

4
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue

@ -122,8 +122,8 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
// setV['soLine'] = val[0]['lineNumber']
// setV['lineNumber'] = val[0]['lineNumber']
// setV['itemCode'] = val[0]['itemCode']
// setV['remark'] = val[0]['remark']
// setV['uom'] = val[0]['uom']
setV['remark'] = val[0]['remark']
setV['uom'] = val[0]['uom']
formRef.setValues(setV)
})
}

Loading…
Cancel
Save