zhangqi 1 anno fa
parent
commit
784260cc3f

+ 13 - 1
src/DRP/HDrpManagement/orderManage/detail/index.vue

@@ -514,10 +514,22 @@ const checkBill = async (id,msg)=>{
   })
 }
 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() {

+ 1 - 1
src/components/tableImport/index.vue

@@ -170,7 +170,7 @@ const getExcelMode = async () => {
 }
 const FailedData = ()=>{
   if (props.failedData) {
-    message.error({content:'前端提示“部分数据未导入成功,请下载导入失败的数据查看!',key:1,duration:3})
+    message.error({content:'部分数据未导入成功,请下载导入失败的数据查看!',key:1,duration:3})
     return true
   }
 }