Browse Source

到货单-取消保存校验/字段名更改

jingbb 5 months ago
parent
commit
29d3ed3100

+ 1 - 1
src/views/purchase/arrivedGoods/ArriveGoodsList.vue

@@ -12,7 +12,7 @@
           </a-col>
           <a-col :lg="8">
               <a-form-item name="arrivalDate">
-                <template #label><span title="到货日期(arrival date)">单据日期(arrival date)</span></template>
+                <template #label><span title="到货日期(arrival date)">到货日期(arrival date)</span></template>
                 <a-range-picker value-format="YYYY-MM-DD"  v-model:value="queryParam.arrivalDate" class="query-group-cust"/>
               </a-form-item>
           </a-col>           

+ 0 - 4
src/views/purchase/arrivedGoods/components/ArriveGoodsFormForm.vue

@@ -334,9 +334,6 @@
       }
 
       async function submitForm() {
-        if(formData.sourceCode==''){
-          message.warning('请选择销售订单或报价单')
-        }else{
           const mainData = await getFormData();
           const subData = await getSubFormAndTableData();
           const values = Object.assign({}, dbData, mainData, subData);
@@ -345,7 +342,6 @@
           await saveOrUpdate(values, isUpdate);
           //关闭弹窗
           emit('success');
-        }
       }
       
       function setFieldsValue(values) {