Sfoglia il codice sorgente

到货单-供应商相关问题

jingbb 6 mesi fa
parent
commit
2d163d9e2d

+ 6 - 0
src/views/purchase/arrivedGoods/ArriveGoodsForm.data.ts

@@ -71,6 +71,12 @@ export const columns: BasicColumn[] = [
       align:"center",
       dataIndex: 'close_dictText',
     },
+    {
+      title: '供应商id(supplier)',
+      align:"center",
+      dataIndex: 'supplier',
+      ifShow:false
+     },
 ];
 
 //子表表格配置

+ 2 - 4
src/views/purchase/arrivedGoods/ArriveGoodsList.vue

@@ -24,8 +24,8 @@
               </a-form-item>
             </a-col>
             <a-col :lg="8">
-              <a-form-item name="supplierName">
-                <template #label><span title="供应商(supplierName)">供应商(supplierName)</span></template>
+              <a-form-item name="supplier">
+                <template #label><span title="供应商(supplier)">供应商(supplierName)</span></template>
                 <ApiSelect
                   :api="Supplierlist"
                   showSearch
@@ -377,9 +377,7 @@
    * 重置
    */
   function searchReset() {
-    debugger
     formRef.value.resetFields();
-    queryParam.supplier = '';
     selectedRowKeys.value = [];
     //刷新数据
     reload();

+ 1 - 2
src/views/purchase/arrivedGoods/components/ArriveGoodsFormForm.vue

@@ -21,7 +21,7 @@
 						</a-col>
 						<a-col :span="12">
 							<a-form-item label="供应商(supplier)" v-bind="validateInfos.supplierName" :label-col="formItemLayout.labelCol1" :wrapper-col="formItemLayout.wrapperCol1" id="SaleOrderForm-supplierName" name="supplierName">
-                <JSelectInput   v-model:value="formData.inquirySuppiler"  placeholder="请选择" allow-clear  :options="supplierOption" @change="changeSupplier"></JSelectInput>
+                <JSelectInput   v-model:value="formData.supplier"  placeholder="请选择" allow-clear  :options="supplierOption" @change="changeSupplier"></JSelectInput>
 							</a-form-item>
 						</a-col>
 						<a-col :span="12">
@@ -223,7 +223,6 @@
         status: undefined,
         delFlag: undefined,
         sourceCode:'',
-        submit:'',
         billCode:'',
         arrivalDate: moment(new Date()).format('YYYY-MM-DD'),   
         project: '',