|
|
@@ -343,7 +343,7 @@ export default defineComponent({
|
|
|
gldwrstandards: {
|
|
|
unitid: { required: true, validator: validateUnit, trigger: 'change' },
|
|
|
wrstandardname: { required: true, message: '请输入品类', trigger: 'blur' },
|
|
|
- convertfactor: { required: true, message: '请输入标仓系数', trigger: 'blur' },
|
|
|
+ convertfactor: { required: true, message: '请输入标仓系数', trigger: 'blur', type: 'number' },
|
|
|
},
|
|
|
glddgfactoryItems: {
|
|
|
dgfactoryitemvalue: { required: true, message: '请输入品牌', trigger: 'blur' },
|
|
|
@@ -412,11 +412,11 @@ export default defineComponent({
|
|
|
mergeTwoObj(formState, props.selctedDeliveryGoods);
|
|
|
mergeTwoObj(formState, data);
|
|
|
// 单位
|
|
|
- formState.unitid = data.agreeunit;
|
|
|
+ formState.unitid = data.goodsunitid;
|
|
|
// 品类
|
|
|
formState.gldwrstandards = gmlist.map((e) => {
|
|
|
const { wrstandardid, wrstandardname, convertfactor, unitid } = e;
|
|
|
- return { wrstandardid, wrstandardname, convertfactor: convertfactor.toString(), unitid };
|
|
|
+ return { wrstandardid, wrstandardname, convertfactor: convertfactor, unitid };
|
|
|
});
|
|
|
// 品牌
|
|
|
formState.glddgfactoryItems = gblist.map((e) => {
|
|
|
@@ -627,7 +627,7 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .ant-col.tc {
|
|
|
+ .ant-col {
|
|
|
text-align: center;
|
|
|
}
|
|
|
}
|