Browse Source

临时库提示

zhangyuewww 3 years ago
parent
commit
ce312bc146

+ 6 - 0
src/views/warehouse/warehouseManagementDelivery.vue

@@ -66,6 +66,10 @@
                 :value="item.constValue"
                 :value="item.constValue"
               />
               />
             </ws-select>
             </ws-select>
+          </ws-form-item>
+           <ws-form-item label="提示" span="1" prop="tips">
+           <ws-input disabled v-model="deptBudgetList.tips"
+              maxlength="20" size="small" />
           </ws-form-item>
           </ws-form-item>
           <ws-form-item label="类型" span="1" prop="type">
           <ws-form-item label="类型" span="1" prop="type">
               <ws-select disabled v-model="deptBudgetList.type"  @change="typeChange">
               <ws-select disabled v-model="deptBudgetList.type"  @change="typeChange">
@@ -534,8 +538,10 @@ export default {
       for (var i = 0; i < this.outContractNo.length; i++) {
       for (var i = 0; i < this.outContractNo.length; i++) {
         if (this.outContractNo[i].contractNo == e) {
         if (this.outContractNo[i].contractNo == e) {
              if (this.outContractNo[i].inOutType == '销售出库') {
              if (this.outContractNo[i].inOutType == '销售出库') {
+              this.deptBudgetList.tips='买方'+this.outContractNo[i].buyer
               this.deptBudgetList.inOutTypeKey = 1
               this.deptBudgetList.inOutTypeKey = 1
             } else if (this.outContractNo[i].inOutType == '移库出库') {
             } else if (this.outContractNo[i].inOutType == '移库出库') {
+              this.deptBudgetList.tips='入货库'+this.outContractNo[i].receiveWarehouse
               this.deptBudgetList.inOutTypeKey = 3
               this.deptBudgetList.inOutTypeKey = 3
             } else if (this.outContractNo[i].inOutType == '暂存入库') {
             } else if (this.outContractNo[i].inOutType == '暂存入库') {
               this.deptBudgetList.inOutTypeKey = 4
               this.deptBudgetList.inOutTypeKey = 4

+ 16 - 0
src/views/warehouse/warehouseManagementPut.vue

@@ -74,6 +74,10 @@
                 :value="item.constValue"
                 :value="item.constValue"
               />
               />
             </ws-select>
             </ws-select>
+          </ws-form-item>
+           <ws-form-item label="提示" span="1" prop="tips">
+           <ws-input disabled v-model="deptBudgetList.tips"
+              maxlength="20" size="small" />
           </ws-form-item>
           </ws-form-item>
           <ws-form-item label="类型" span="1" prop="type">
           <ws-form-item label="类型" span="1" prop="type">
             <ws-select disabled v-model="deptBudgetList.type" @change="typeChange">
             <ws-select disabled v-model="deptBudgetList.type" @change="typeChange">
@@ -1871,14 +1875,26 @@ export default {
       for (var i = 0; i < this.outContractNo.length; i++) {
       for (var i = 0; i < this.outContractNo.length; i++) {
         if (this.outContractNo[i].contractNo == e) {
         if (this.outContractNo[i].contractNo == e) {
           if (this.outContractNo[i].inOutType == '采购入库') {
           if (this.outContractNo[i].inOutType == '采购入库') {
+              this.deptBudgetList.tips='卖方'+this.outContractNo[i].seller+ ' '+this.outContractNo[i].unitContractPrice+'(元/吨)'
               this.deptBudgetList.inOutTypeKey = 1
               this.deptBudgetList.inOutTypeKey = 1
             } else if (this.outContractNo[i].inOutType == '移库入库') {
             } else if (this.outContractNo[i].inOutType == '移库入库') {
+              if(this.outContractNo[i].unitContractPrice){
+                this.deptBudgetList.tips='出货库'+this.outContractNo[i].sendWarehouse+ ' '+this.outContractNo[i].unitContractPrice+'(元/吨)'
+              }else{
+                this.deptBudgetList.tips='出货库'+this.outContractNo[i].sendWarehouse
+              }
               this.deptBudgetList.inOutTypeKey = 3
               this.deptBudgetList.inOutTypeKey = 3
             } else if (this.outContractNo[i].inOutType == '暂存入库') {
             } else if (this.outContractNo[i].inOutType == '暂存入库') {
               this.deptBudgetList.inOutTypeKey = 4
               this.deptBudgetList.inOutTypeKey = 4
             } else if (this.outContractNo[i].inOutType == '贸易服务入库') {
             } else if (this.outContractNo[i].inOutType == '贸易服务入库') {
               this.deptBudgetList.inOutTypeKey = 5
               this.deptBudgetList.inOutTypeKey = 5
             } else if (this.detailData.inOutType == '退库') {
             } else if (this.detailData.inOutType == '退库') {
+              if(this.outContractNo[i].contractNo){
+                this.deptBudgetList.tips='买方'+this.outContractNo[i].buyer
+              }
+              else{
+                this.deptBudgetList.tips='出货库'+this.outContractNo[i].sendWarehouse
+              }
               this.deptBudgetList.inOutTypeKey = 6
               this.deptBudgetList.inOutTypeKey = 6
             }
             }
           this.deptBudgetList.goodsName = this.outContractNo[i].goodsName
           this.deptBudgetList.goodsName = this.outContractNo[i].goodsName