|
|
@@ -346,7 +346,6 @@ export default defineComponent({
|
|
|
},
|
|
|
};
|
|
|
function submit() {
|
|
|
- console.log('param', toRaw(formState));
|
|
|
formRef.value
|
|
|
.validate()
|
|
|
.then(() => {
|
|
|
@@ -355,7 +354,6 @@ export default defineComponent({
|
|
|
cancel();
|
|
|
context.emit('refresh', true);
|
|
|
});
|
|
|
- console.log('param', param);
|
|
|
})
|
|
|
.catch((error: ValidateErrorEntity<FormState>) => {
|
|
|
console.log('error', error);
|
|
|
@@ -376,6 +374,7 @@ export default defineComponent({
|
|
|
if (props.selctedDeliveryGoods.data.deliverygoodsname) {
|
|
|
const { data, gblist, gmlist, mgList } = props.selctedDeliveryGoods;
|
|
|
mergeTwoObj(formState, props.selctedDeliveryGoods);
|
|
|
+ mergeTwoObj(formState, data);
|
|
|
// 单位
|
|
|
formState.unitid = data.agreeunit;
|
|
|
// 品类
|