|
@@ -435,11 +435,23 @@ const checkBill = async (id,msg)=>{
|
|
|
onCancel() {},
|
|
|
})
|
|
|
}
|
|
|
+const zero_price = ref(false)
|
|
|
const onSubmit = async (id,msg)=>{
|
|
|
+ if (orderData.value.type == '特殊订单') {
|
|
|
+ const rs = await Api.requested({
|
|
|
+ id:2024060515370903,
|
|
|
+ content:{
|
|
|
+ "sa_orderid": orderData.value.sa_orderid,
|
|
|
+ }
|
|
|
+ })
|
|
|
+ if (rs.data.length > 0) {
|
|
|
+ zero_price.value = true
|
|
|
+ }
|
|
|
+ }
|
|
|
Modal.confirm({
|
|
|
title: '提示',
|
|
|
icon: createVNode(ExclamationCircleOutlined),
|
|
|
- content: `确定提交该订单吗?`,
|
|
|
+ content:zero_price.value?'存在单价为0的商品,是否继续提交?':`确定提交该订单吗?`,
|
|
|
okText: '确认',
|
|
|
cancelText: '取消',
|
|
|
async onOk() {
|
|
@@ -457,6 +469,7 @@ const onSubmit = async (id,msg)=>{
|
|
|
onCancel() {},
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
const quickSendProduct = ()=>{
|
|
|
Modal.confirm({
|
|
|
title: '一键发货',
|