高敬炎 2 年之前
父节点
当前提交
28640511b0

+ 1 - 1
src/api/V2/houseSelfCollect/index.js

@@ -33,7 +33,7 @@ export const API_POST_INSPECT_ADD = '/qualityInspectionManagement/api/addQuality
     //质检仓位下拉
 export const API_GET_INSPECT_GETBINNUMBER = '/warehouseBaseInfo/getWarehouse'
     //客户下拉
-export const API_GET_INSPECT_GETCUSTOMER = '/identityAuthenticationInfo/identityAuthenticationInfoCustomer'
+export const API_GET_INSPECT_GETCUSTOMER = '/identityAuthenticationInfo/identityAuthenticationInfoCustomerNew'
     //获取二维码
 export const API_GET_INSPECT_GETQRCODE = '/identityAuthenticationInfo/generateQRCodeImage'
     //质检列表

+ 5 - 1
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -770,6 +770,7 @@ export default {
       disablednotarize: false,
       goodsdisabled: false,
       customerName: '',
+      buyer:'',
       customerPhone: '',
       contractFlag: 7,
       redstatus: false,
@@ -1279,7 +1280,8 @@ export default {
       if (this.serviceManagementType == 3) {
         getcustomer({
           warehouseId: this.cangid,
-          goodsName: this.deptBudgetList.goodsName
+          goodsName: this.deptBudgetList.goodsName,
+          buyer:this.buyer
         })
           .toPromise()
           .then((response) => {
@@ -3999,6 +4001,7 @@ export default {
       if (!data) return
       var response = await getcontract({ contractNo: this.deptBudgetList.contractNo, compId: localStorage.getItem('ws-pf_compId') }).toPromise()
       this.outContractNo = response
+      this.buyer = this.outContractNo.buyer
       if (this.outContractNo.priceType == '定价收购') {
         if (this.deptBudgetList.type == '潮粮') {
           this.deptBudgetList.tidalGrainPrice = Number(this.outContractNo.unitContractPrice / 1000).toFixed(2)
@@ -4051,6 +4054,7 @@ export default {
           })
         }
         this.customerName = this.outContractNo.buyer
+        
         this.customerPhone = this.outContractNo.buyerPhone
         this.warehouseTradeCount = this.warehouseTradeCount1
         this.warehouseTradeCount = '000' + (Number(this.warehouseTradeCount) + 1)

+ 92 - 0
src/views/profitable/cashout.vue

@@ -81,6 +81,13 @@
           </el-form-item>
           <el-form-item label-width='100px' label="付款方名头" span="1" prop="payerHeader" class="readonly">
             <el-input class='input50 input_css' placeholder="输入付款方名头" v-model="deptBudgetList.payerHeader"></el-input>
+          </el-form-item>
+           <el-form-item v-if='deptBudgetList.purpose == "经营性费用"' label-width='100px' label="所属名头" span="1" prop="payerHeader" class="readonly">
+            <el-select v-model="deptBudgetList.belongName" filterable placeholder="选择所属名头" class="typeselect"
+              @change="selectwarehouse">
+              <el-option v-for="item in namelist" :key="item.name" :label="item.name"
+                :value="item.name" style="color: #8890b1" />
+            </el-select>
           </el-form-item>
           <el-form-item label-width='100px' label="金额(元)" span="1" prop="contractNo" class="readonly">
             <el-input class='input50 input_css' placeholder="输入请款金额" v-model="deptBudgetList.amountMoney"></el-input>
@@ -280,6 +287,91 @@ export default {
         name: '玉米',
         count: 2000,
       }],
+      namelist: [{
+						name: "黑龙江中天昊元贸易有限公司"
+					},
+					{
+						name: "黑龙江中天昊元物流部"
+					},
+					{
+						name: "中天昊元-建发合营"
+					},
+					{
+						name: "中天昊元-六水香合营"
+					},
+					{
+						name: "中天昊元-昊友合营"
+					},
+					{
+						name: "黑龙江中天昊元贸易有限公司辽宁分公司"
+					},
+					{
+						name: "黑龙江众利合粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江欣洋粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江启兴粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江鑫满仓粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江谷香粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江益储益运粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江海天粮食农业发展有限公司"
+					},
+					{
+						name: "黑龙江中天绿粮供应链管理有限公司"
+					},
+					{
+						name: "中天昊元(海南)国际贸易有限公司"
+					},
+					{
+						name: "克东县嘉达建筑装潢有限责任公司"
+					},
+					{
+						name: "克东县金博粮食有限公司"
+					},
+					{
+						name: "克东县安正商贸有限公司"
+					},
+					{
+						name: "克东县万祥农业科技开发有限公司"
+					},
+					{
+						name: "克东县万润运输有限公司"
+					},
+					{
+						name: "黑龙江大金仓农业科技有限公司"
+					},
+					{
+						name: "克东县华祥通讯管线工程有限公司"
+					},
+					{
+						name: "黑龙江峰海粮食贸易有限公司(季度报 增值税季度)"
+					},
+					{
+						name: "黑龙江鑫宝仓粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江中仓粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江晟鸿泰粮食贸易有限公司"
+					},
+					{
+						name: "黑龙江新粮仓粮食贸易有限公司"
+					},
+					{
+						name: "齐齐哈尔米林设备制造有限公司"
+					},
+				],
       mode: '全部分配',
       moneys: '按重量自动分配',
       dataList: [],