Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
songguoqiang 7 months ago
parent
commit
4f986f0f17
  1. 4
      src/components/TableFormCountPlan/src/TableFormCountPlan.vue
  2. 9
      src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts
  3. 4
      src/views/wms/countManage/count/countPlanMain/index.vue

4
src/components/TableFormCountPlan/src/TableFormCountPlan.vue

@ -22,7 +22,7 @@
:rules="tableFormRules"
:class="tableFormRules ? '' : 'noRulesForm'">
<el-form-item :prop="tableFields[0].field">
<el-select
<el-select :key="row.id+$index"
v-model="row.type"
:placeholder="tableFields[0].placeholder || '请输入' + tableFields[0].label"
@change="tableFormChange(tableFields[0].field, $event, row)"
@ -51,7 +51,7 @@
:rules="tableFormRules"
:class="tableFormRules ? '' : 'noRulesForm'">
<el-form-item :prop="tableFields[1].field">
<el-select
<el-select :key="row.id+$index"
v-model="row.value"
:placeholder="
tableFields[1].placeholder ||

9
src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts

@ -128,6 +128,7 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isForm:false,
form: {
component: 'Switch',
value: 'TRUE',
@ -149,7 +150,7 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true,
form: {
component: 'Switch',
value: 'TRUE',
value: 'FALSE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
@ -168,7 +169,7 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true,
form: {
component: 'Switch',
value: 'TRUE',
value: 'FALSE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
@ -187,7 +188,7 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true,
form: {
component: 'Switch',
value: 'TRUE',
value: 'FALSE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
@ -206,7 +207,7 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true,
form: {
component: 'Switch',
value: 'TRUE',
value: 'FALSE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'

4
src/views/wms/countManage/count/countPlanMain/index.vue

@ -747,7 +747,7 @@ const getItembasicAllList = async () => {
allList.value.itembasicAllList = res.map((element) => {
return {
value: element.code,
label: element.name
label: element.name + '-'+ element.code
}
})
})
@ -791,7 +791,7 @@ const getLocationAllList = async () => {
allList.value.locationAllList = res.map((element) => {
return {
value: element.code,
label: element.name
label: element.name + '-'+ element.code
}
})
})

Loading…
Cancel
Save