|
@@ -104,7 +104,7 @@ import Drawer from '@/common/components/drawer/index.vue';
|
|
|
import { PlusOutlined, MinusOutlined } from '@ant-design/icons-vue';
|
|
import { PlusOutlined, MinusOutlined } from '@ant-design/icons-vue';
|
|
|
import { hdWROrder, wRListingCancelOrder } from '@/services/proto/warehousetrade';
|
|
import { hdWROrder, wRListingCancelOrder } from '@/services/proto/warehousetrade';
|
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
-import {HdWROrderReq, WRGoodsInfo} from '@/services/proto/warehousetrade/interface';
|
|
|
|
|
|
|
+import { HdWROrderReq, WRGoodsInfo } from '@/services/proto/warehousetrade/interface';
|
|
|
import { getAccountTypeList, getInTaAccount, getUserId } from '@/services/bus/account';
|
|
import { getAccountTypeList, getInTaAccount, getUserId } from '@/services/bus/account';
|
|
|
import { v4 as uuidv4 } from 'uuid';
|
|
import { v4 as uuidv4 } from 'uuid';
|
|
|
import moment from 'moment';
|
|
import moment from 'moment';
|
|
@@ -186,13 +186,13 @@ export default defineComponent({
|
|
|
Attachment2: '', // 附件2
|
|
Attachment2: '', // 附件2
|
|
|
Remark: '222', // 备注
|
|
Remark: '222', // 备注
|
|
|
ApplyID: 0, // 申请ID
|
|
ApplyID: 0, // 申请ID
|
|
|
- WRTradeGoods: isFixed()?[] : [wrGoodsInfo],
|
|
|
|
|
|
|
+ WRTradeGoods: isFixed() ? [] : [wrGoodsInfo],
|
|
|
CanPart: 1, // 是否允许部份摘牌0:不允许;1:允许
|
|
CanPart: 1, // 是否允许部份摘牌0:不允许;1:允许
|
|
|
WRStandardID: props.selectedRow.wrstandardid,
|
|
WRStandardID: props.selectedRow.wrstandardid,
|
|
|
HasWr: 1, // 无仓单挂牌 是否有无仓单
|
|
HasWr: 1, // 无仓单挂牌 是否有无仓单
|
|
|
};
|
|
};
|
|
|
requestResultLoadingAndInfo(hdWROrder, param, loading, ['求购成功', '求购失败:']).then(() => {
|
|
requestResultLoadingAndInfo(hdWROrder, param, loading, ['求购成功', '求购失败:']).then(() => {
|
|
|
- cancel();
|
|
|
|
|
|
|
+ cancel(true);
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|