|
|
@@ -183,9 +183,14 @@ export default defineComponent({
|
|
|
watchEffect(() => {
|
|
|
if (props.selectedRow.contracttype) {
|
|
|
mergeTwoObj(formState, props.selectedRow);
|
|
|
- const { deliverygoodsid, planqty } = props.selectedRow;
|
|
|
+ const { deliverygoodsid, planqty, wrstandardid } = props.selectedRow;
|
|
|
deliverygoodsid && chooseMG(deliverygoodsid);
|
|
|
formState.PlanQty = String(planqty);
|
|
|
+
|
|
|
+ if (wrstandardid) {
|
|
|
+ formState.WRStandardID = wrstandardid;
|
|
|
+ chooseWR(wrstandardid);
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
function submit(OperateType: 1 | 2) {
|