瀏覽代碼

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-pc

ccj 3 年之前
父節點
當前提交
84e612d361

+ 25 - 50
src/views/houseSelfCollect/acquisitionManagement.vue

@@ -84,46 +84,12 @@
         compId: '',
         compId: '',
         accountName: '',
         accountName: '',
         tableData: [],
         tableData: [],
-        // tableData: [{
-        //   date: '2016-05-02',
-        //   name: '王小虎',
-        //   address: '上海市普陀区金沙江路 1518 弄'
-        // }, {
-        //   date: '2016-05-04',
-        //   name: '王小虎',
-        //   address: '上海市普陀区金沙江路 1517 弄'
-        // }, {
-        //   date: '2016-05-01',
-        //   name: '王小虎',
-        //   address: '上海市普陀区金沙江路 1519 弄'
-        // }, {
-        //   date: '2016-05-03',
-        //   name: '王小虎',
-        //   address: '上海市普陀区金沙江路 1516 弄'
-        // }],
-        warehouseList: [],
-        // warehouseList: [{
-        //   value: '选项1',
-        //   label: '黄金糕'
-        // }, {
-        //   value: '选项2',
-        //   label: '双皮奶'
-        // }, {
-        //   value: '选项3',
-        //   label: '蚵仔煎'
-        // }, {
-        //   value: '选项4',
-        //   label: '龙须面'
-        // }, {
-        //   value: '选项5',
-        //   label: '北京烤鸭'
-        // }],
-        selectVal: ''
+        selectVal: '',
+        goodsNameList:[],
+        warehouseList:[]
       }
       }
     },
     },
-    activated() {
-      this.getList()
-    },
+    activated() {},
     computed() {},
     computed() {},
     created() {
     created() {
       debugger
       debugger
@@ -150,8 +116,8 @@
       },
       },
       newAcquisition(index, row, type) {
       newAcquisition(index, row, type) {
         debugger
         debugger
-          let _obj = {}
-          let _query = {}
+        let _obj = {}
+        let _query = {}
         switch (type) {
         switch (type) {
           case '新增':
           case '新增':
             _obj = this.warehouseList.find((item) => {
             _obj = this.warehouseList.find((item) => {
@@ -159,19 +125,20 @@
             });
             });
             console.log(_obj)
             console.log(_obj)
             _query = {
             _query = {
-            warehouseId: _obj.id,
-            warehouseName: _obj.warehouseName,
-            compId: this.compId,
-            type:type
-          }
+              warehouseId: _obj.id,
+              warehouseName: _obj.warehouseName,
+              compId: this.compId,
+              type: type,
+              goodsNameList:this.goodsNameList
+            }
             break
             break
           case '编辑':
           case '编辑':
             break
             break
           case "查看":
           case "查看":
-          _query = {
-            data:row,
-            type:type
-          }
+            _query = {
+              data: row,
+              type: type
+            }
             break
             break
           default:
           default:
             break
             break
@@ -187,10 +154,13 @@
           compId: this.compId,
           compId: this.compId,
           personCharge: this.accountName,
           personCharge: this.accountName,
         }).toPromise().then((response) => {
         }).toPromise().then((response) => {
+          debugger
           console.log(response)
           console.log(response)
           this.warehouseList = response
           this.warehouseList = response
           this.selectVal = this.warehouseList[0].id
           this.selectVal = this.warehouseList[0].id
           // this.tableData = response.records
           // this.tableData = response.records
+          this.getList()
+
 
 
         })
         })
       },
       },
@@ -203,6 +173,9 @@
           compId: this.compId,
           compId: this.compId,
         }).toPromise().then((response) => {
         }).toPromise().then((response) => {
           console.log(response)
           console.log(response)
+          for(let i=0;i<response.records.length;i++){
+            this.goodsNameList.push(response.records[i].goodsName)
+          }
           this.tableData = response.records
           this.tableData = response.records
         })
         })
       },
       },
@@ -220,7 +193,9 @@
         this.visible = true
         this.visible = true
         console.log(index, row);
         console.log(index, row);
       },
       },
-      print() {}
+      print() {
+        window.location.href="../../../static/print.html"
+      }
     },
     },
   }
   }
 </script>
 </script>

+ 118 - 28
src/views/houseSelfCollect/acquisitionManagementAdd.vue

@@ -14,7 +14,12 @@
         <div class="row1">
         <div class="row1">
           <div class="grid-content">
           <div class="grid-content">
             <el-form-item label="货名">
             <el-form-item label="货名">
-              <el-input v-model="baseInfoForm.goodsName"></el-input>
+              <!-- <el-input v-model="baseInfoForm.goodsName"></el-input> -->
+              <el-select v-model="selectVal" placeholder="请选择" @change="goodsChange">
+                <el-option v-for="item in goodnameList" :key="item.constValue" :label="item.constValue"
+                  :value="item.constValue">
+                </el-option>
+              </el-select>
             </el-form-item>
             </el-form-item>
           </div>
           </div>
           <div class="grid-content">
           <div class="grid-content">
@@ -104,7 +109,6 @@
             </div>
             </div>
           </div>
           </div>
         </div>
         </div>
-
         <el-button class="submit" @click="submit">提交</el-button>
         <el-button class="submit" @click="submit">提交</el-button>
       </el-row>
       </el-row>
     </el-main>
     </el-main>
@@ -124,11 +128,13 @@
           </el-table-column>
           </el-table-column>
           <el-table-column prop="price3" label="三等单价">
           <el-table-column prop="price3" label="三等单价">
           </el-table-column>
           </el-table-column>
-          <el-table-column prop="price4" label="等外单价">
+          <el-table-column prop="priceOther" label="等外单价">
           </el-table-column>
           </el-table-column>
         </el-table>
         </el-table>
       </div>
       </div>
       <el-button class="submit" @click="closeCount">关闭</el-button>
       <el-button class="submit" @click="closeCount">关闭</el-button>
+      <el-button class="submit" @click="print">打印</el-button>
+
     </el-main>
     </el-main>
   </el-container>
   </el-container>
 </template>
 </template>
@@ -136,6 +142,9 @@
   import {
   import {
     purchasePriceAdd
     purchasePriceAdd
   } from '@/model/houseSelfCollect/index'
   } from '@/model/houseSelfCollect/index'
+  import {
+    packList,
+  } from '@/model/contarct/index'
   export default {
   export default {
 
 
     components: {
     components: {
@@ -146,34 +155,36 @@
     },
     },
     data() {
     data() {
       return {
       return {
+        selectVal: "",
+        goodnameList: [],
         tableData: [{
         tableData: [{
           waterMin: '10',
           waterMin: '10',
           waterMax: '20',
           waterMax: '20',
           price1: '30',
           price1: '30',
           price2: '30',
           price2: '30',
           price3: '30',
           price3: '30',
-          price4: '30',
+          priceOther: '30',
         }, {
         }, {
           waterMin: '11',
           waterMin: '11',
           waterMax: '20',
           waterMax: '20',
           price1: '30',
           price1: '30',
           price2: '30',
           price2: '30',
           price3: '30',
           price3: '30',
-          price4: '30',
+          priceOther: '30',
         }, {
         }, {
           waterMin: '12',
           waterMin: '12',
           waterMax: '20',
           waterMax: '20',
           price1: '30',
           price1: '30',
           price2: '30',
           price2: '30',
           price3: '30',
           price3: '30',
-          price4: '30',
+          priceOther: '30',
         }, {
         }, {
           waterMin: '13',
           waterMin: '13',
           waterMax: '20',
           waterMax: '20',
           price1: '30',
           price1: '30',
           price2: '30',
           price2: '30',
           price3: '30',
           price3: '30',
-          price4: '30',
+          priceOther: '30',
         }],
         }],
         isCountShow: true,
         isCountShow: true,
         priceList: [{
         priceList: [{
@@ -235,17 +246,40 @@
       }
       }
     },
     },
     created() {
     created() {
-      debugger
+      let _goodsNameList = []
       this.baseInfoForm.warehouseId = this.$route.query.warehouseId
       this.baseInfoForm.warehouseId = this.$route.query.warehouseId
       this.baseInfoForm.warehouseName = this.$route.query.warehouseName
       this.baseInfoForm.warehouseName = this.$route.query.warehouseName
       this.baseInfoForm.compId = this.$route.query.compId
       this.baseInfoForm.compId = this.$route.query.compId
       this.type = this.$route.query.type
       this.type = this.$route.query.type
       console.log(this.baseInfoForm)
       console.log(this.baseInfoForm)
+      _goodsNameList = this.$route.query.goodsNameList
       this.priceList[0].detailList[0].water = this.baseInfoForm.waterMin
       this.priceList[0].detailList[0].water = this.baseInfoForm.waterMin
       this.priceList[0].detailList[2].water = this.baseInfoForm.waterBase
       this.priceList[0].detailList[2].water = this.baseInfoForm.waterBase
       this.priceList[0].detailList[4].water = this.baseInfoForm.waterMax
       this.priceList[0].detailList[4].water = this.baseInfoForm.waterMax
       switch (this.$route.query.type) {
       switch (this.$route.query.type) {
         case "新增":
         case "新增":
+          // 货名
+          packList({
+              constId: 'CON2'
+            })
+            .toPromise()
+            .then((response) => {
+              let _list = []
+              for (let i = 0; i < response.length; i++) {
+                let _isAll = true
+                for (let j = 0; j < _goodsNameList.length; j++) {
+                  if (response[i].constValue != _goodsNameList[j]) {
+                    if (j == _goodsNameList.length - 1 && _isAll) {
+                      _list.push(response[i])
+                    }
+                  } else {
+                    _isAll = false
+                  }
+                }
+              }
+              this.goodnameList = _list
+              this.selectVal = _list[0].constValue
+            })
           break;
           break;
         case "编辑":
         case "编辑":
           break;
           break;
@@ -256,12 +290,11 @@
           break
           break
       }
       }
     },
     },
-    mounted() {
-      debugger
-
-
-    },
+    mounted() {},
     methods: {
     methods: {
+      goodsChange(e) {
+        console.log(e)
+      },
       changeBaseWater(val) {
       changeBaseWater(val) {
         console.log('val', val)
         console.log('val', val)
         for (let i = 0; i < this.priceList.length; i++) {
         for (let i = 0; i < this.priceList.length; i++) {
@@ -358,6 +391,28 @@
           }
           }
         }
         }
       },
       },
+      // 算价格纠正精度不准
+      accMul(arg1, arg2) {
+        var m = 0,
+          s1 = arg1.toString(),
+          s2 = arg2.toString();
+        try {
+          m += s1.split(".")[1].length
+        } catch (e) {}
+        try {
+          m += s2.split(".")[1].length
+        } catch (e) {}
+        return Number(s1.replace(".", "")) * Number(s2.replace(".", "")) / Math.pow(10, m)
+      },
+      keepTwoDecimal(num) {
+        var result = parseFloat(num);
+        if (isNaN(result)) {
+          console.log('传递参数错误,请检查!');
+          return false;
+        }
+        result = Math.round(result * 100) / 100;
+        return result;
+      },
       newSetPrice() {
       newSetPrice() {
         let _newObj = {
         let _newObj = {
           unitPrice: '',
           unitPrice: '',
@@ -410,10 +465,9 @@
             return false
             return false
           })
           })
       },
       },
-      // 提交
-      submit() {
-        debugger
-        this.isCountShow = false
+
+      //构造新增价格数据
+      makePriceDataList() {
         for (let k = 0; k < this.priceList.length; k++) {
         for (let k = 0; k < this.priceList.length; k++) {
           // 新增
           // 新增
           let _detailsObj = {
           let _detailsObj = {
@@ -448,13 +502,21 @@
               _detailsObj.point += ',' + this.priceList[k].detailList[i].water
               _detailsObj.point += ',' + this.priceList[k].detailList[i].water
             }
             }
           }
           }
-
-          debugger
           this.baseInfoForm.details.push(_detailsObj)
           this.baseInfoForm.details.push(_detailsObj)
 
 
         }
         }
+      },
 
 
+      //打印
+      print() {
+        
+      },
+      // 提交
+      submit() {
+        this.isCountShow = false
         this.makeTableList()
         this.makeTableList()
+        this.makePriceDataList()
+        this.baseInfoForm.goodsName = this.selectVal
         purchasePriceAdd(this.baseInfoForm).toPromise().then((response) => {
         purchasePriceAdd(this.baseInfoForm).toPromise().then((response) => {
           console.log(response)
           console.log(response)
           // this.tableData = response.records
           // this.tableData = response.records
@@ -463,6 +525,9 @@
       closeCount() {
       closeCount() {
         this.isCountShow = true
         this.isCountShow = true
         this.splitPriceList = []
         this.splitPriceList = []
+        this.$router.push({
+          name: 'acquisitionManagement',
+        })
       },
       },
       //处理表格数据
       //处理表格数据
       makeTableList() {
       makeTableList() {
@@ -480,7 +545,7 @@
         let _list = []
         let _list = []
         let _obj = {}
         let _obj = {}
         let _waterMin = parseFloat(this.baseInfoForm.waterMin)
         let _waterMin = parseFloat(this.baseInfoForm.waterMin)
-        let _waterMax = this.baseInfoForm.waterMax
+        let _waterMax = parseFloat(this.baseInfoForm.waterMax)
         let _count = (_waterMax - _waterMin) / 0.5 + 1
         let _count = (_waterMax - _waterMin) / 0.5 + 1
         for (let i = 0; i < _count; i++) {
         for (let i = 0; i < _count; i++) {
           if (i == 0) {
           if (i == 0) {
@@ -491,7 +556,7 @@
               price1: priceList[0],
               price1: priceList[0],
               price2: priceList[1],
               price2: priceList[1],
               price3: priceList[2],
               price3: priceList[2],
-              price4: priceList[3],
+              priceOther: priceList[3],
             }
             }
           } else {
           } else {
             _waterMin += 0.5
             _waterMin += 0.5
@@ -502,10 +567,11 @@
               price1: priceList[0],
               price1: priceList[0],
               price2: priceList[1],
               price2: priceList[1],
               price3: priceList[2],
               price3: priceList[2],
-              price4: priceList[3],
+              priceOther: priceList[3],
             }
             }
           }
           }
           _list.push(_obj)
           _list.push(_obj)
+          this.baseInfoForm.detailPrints.push(_obj)
         }
         }
         this.tableData = _list
         this.tableData = _list
       },
       },
@@ -517,7 +583,7 @@
           for (let k = 0; k < _priceList[i].checkList.length; k++) {
           for (let k = 0; k < _priceList[i].checkList.length; k++) {
             let _obj = {}
             let _obj = {}
             _obj.level = _priceList[i].checkList[k]
             _obj.level = _priceList[i].checkList[k]
-            _obj.basicUnitPrice = _priceList[i].basicUnitPrice
+            _obj.basicUnitPrice = parseFloat(_priceList[i].basicUnitPrice)
             _obj.priceList = []
             _obj.priceList = []
             _obj.haveSplit = false
             _obj.haveSplit = false
             for (let j = 0; j < _priceList[i].detailList.length; j++) {
             for (let j = 0; j < _priceList[i].detailList.length; j++) {
@@ -558,12 +624,18 @@
             .waterBase) * 0.01
             .waterBase) * 0.01
           for (let k = 0; k < _list.length; k++) {
           for (let k = 0; k < _list.length; k++) {
             //基准左边
             //基准左边
+            debugger
             if (_waterMin < parseFloat(this.baseInfoForm.waterBase)) {
             if (_waterMin < parseFloat(this.baseInfoForm.waterBase)) {
               if (_waterMin >= _list[k].priceStart && _waterMin < _list[k].priceEnd && !this.splitPriceList[i]
               if (_waterMin >= _list[k].priceStart && _waterMin < _list[k].priceEnd && !this.splitPriceList[i]
                 .haveSplit) {
                 .haveSplit) {
-                _price = basePrice + (parseFloat(this.baseInfoForm.waterBase) - _waterMin) / 0.5 *
-                  _list[k].betweenPrice
-                prcieList.push(_price)
+                console.log(basePrice)
+                console.log(this.keepTwoDecimal(basePrice))
+                console.log(this.keepTwoDecimal(((parseFloat(this.baseInfoForm.waterBase) - _waterMin) / 0.5) * _list[k]
+                  .betweenPrice))
+                _price = basePrice + (parseFloat(this.baseInfoForm.waterBase) - _waterMin) / 0.5 * _list[k]
+                .betweenPrice;
+                console.log(_price)
+                prcieList.push(this.keepTwoDecimal(_price))
               } else if (_waterMin >= _list[k].priceStart && _waterMin < _list[k].priceEnd) {
               } else if (_waterMin >= _list[k].priceStart && _waterMin < _list[k].priceEnd) {
                 // 当前段价格+其他段价格
                 // 当前段价格+其他段价格
                 let _otherPice = this.getOtherPrice(_list[k])
                 let _otherPice = this.getOtherPrice(_list[k])
@@ -577,12 +649,30 @@
 
 
             }
             }
             //基准值
             //基准值
-            else if (_waterMin = parseFloat(this.baseInfoForm.waterBase)) {
-
+            else if (_waterMin == parseFloat(this.baseInfoForm.waterBase)) {
+                   prcieList.push(this.keepTwoDecimal(basePrice))
             }
             }
             // 基准右边
             // 基准右边
             else {
             else {
 
 
+            if (_waterMin > _list[k].priceStart && _waterMin <=_list[k].priceEnd && !this.splitPriceList[i]
+                .haveSplit) {
+                _price = basePrice - (parseFloat(this.baseInfoForm.waterBase) - _waterMin) / 0.5 * _list[k]
+                .betweenPrice;
+                console.log(_price)
+                prcieList.push(this.keepTwoDecimal(_price))
+              } else if (_waterMin >= _list[k].priceStart && _waterMin < _list[k].priceEnd) {
+                // 当前段价格+其他段价格
+                let _otherPice = this.getOtherPrice(_list[k])
+                let _price1 = (_list[k].priceEnd - _waterMin) / 0.5 * _list[k].betweenPrice + _otherPice;
+
+
+
+                // _price+=_list[k].totalPrice
+
+              }
+
+
             }
             }
 
 
 
 

+ 2 - 1
src/views/houseSelfCollect/houseSelfCollectPrint.vue

@@ -28,7 +28,8 @@ export default {
   activated() {
   activated() {
 
 
   },
   },
-  created(){debugger
+  created(){
+    
   // this.$route.query.type
   // this.$route.query.type
 this.name = this.$route.query.name
 this.name = this.$route.query.name
   },
   },

+ 11 - 3
src/views/houseSelfCollect/inspectInfo.vue

@@ -36,7 +36,6 @@
                 v-model="inspect.binNumber"
                 v-model="inspect.binNumber"
                 placeholder="请输入仓位号"
                 placeholder="请输入仓位号"
                 class="typeselect"
                 class="typeselect"
-                @change="selectpackingMethod"
                 :disabled="disabled"
                 :disabled="disabled"
               >
               >
                 <ws-option
                 <ws-option
@@ -231,12 +230,14 @@ export default {
       customerList: [],
       customerList: [],
       getbinNumberList: [],
       getbinNumberList: [],
       cangid: '', //仓库id
       cangid: '', //仓库id
+      warehouseName:'',
       // calculation:''
       // calculation:''
     }
     }
   },
   },
   activated() {
   activated() {
     this.types = this.$route.query.type
     this.types = this.$route.query.type
     this.cangid = this.$route.query.cangid
     this.cangid = this.$route.query.cangid
+    this.warehouseName = this.$route.warehouseName
     let id = this.$route.query.id
     let id = this.$route.query.id
     if (this.types == 2) {
     if (this.types == 2) {
       this.disabled = true
       this.disabled = true
@@ -274,7 +275,8 @@ export default {
         type: 'warning',
         type: 'warning',
       })
       })
         .then(() => {
         .then(() => {
-          // return
+          this.inspect.warehouseName = this.warehouseName
+          this.inspect.compId = sessionStorage.getItem('ws-pf_compId'),
           inspectAdd(this.inspect)
           inspectAdd(this.inspect)
             .toPromise()
             .toPromise()
             .then((response) => {
             .then((response) => {
@@ -339,7 +341,13 @@ export default {
         })
         })
     },
     },
     //货名改变事件
     //货名改变事件
-    selectpackingMethod() {},
+    selectpackingMethod(e) {
+      let customers = e.split("(").split(")")[0]
+      this.inspect.customerName = customers[0]
+      this.inspect.customerPhone = customers[1]
+     console.log()
+
+    },
     getList(ids) {
     getList(ids) {
       // 货名
       // 货名
       getinspectLookGoods({ warehouseId: this.cangid })
       getinspectLookGoods({ warehouseId: this.cangid })

+ 5 - 5
src/views/houseSelfCollect/inspectionManagement.vue

@@ -7,7 +7,7 @@
       </template>
       </template>
       <template slot="right">
       <template slot="right">
         <ws-select
         <ws-select
-          v-model="searchTypeText"
+          v-model="warehouseName"
           placeholder=""
           placeholder=""
           @change="selecttaskType"
           @change="selecttaskType"
           :value="searchType"
           :value="searchType"
@@ -116,7 +116,7 @@ export default {
       searchKeyWord: '',
       searchKeyWord: '',
       taskTypeList: [],
       taskTypeList: [],
       searchType: 0,
       searchType: 0,
-      searchTypeText: '',
+      warehouseName: '',
       inspect: [],
       inspect: [],
       warehouseList: [],
       warehouseList: [],
       cangid: '', //仓库id
       cangid: '', //仓库id
@@ -134,7 +134,7 @@ export default {
       console.log(row.id, 'id值')
       console.log(row.id, 'id值')
       this.$router.push({
       this.$router.push({
         path: 'inspectInfo',
         path: 'inspectInfo',
-        query: { type: index, cangid: this.cangid, id: row.id },
+        query: { type: index, cangid: this.cangid, id: row.id ,warehouseName:this.warehouseName},
       })
       })
     },
     },
     selecttaskType(e) {
     selecttaskType(e) {
@@ -190,7 +190,7 @@ export default {
               id: response[i].id,
               id: response[i].id,
             })
             })
           }
           }
-          this.searchTypeText = response[0].warehouseName
+          this.warehouseName = response[0].warehouseName
           this.cangid = response[0].id
           this.cangid = response[0].id
         })
         })
 
 
@@ -199,7 +199,7 @@ export default {
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,
         searchKeyWord: this.searchKeyWord,
         searchKeyWord: this.searchKeyWord,
-        searchTypeText: this.searchTypeText,
+        warehouseName: this.warehouseName,
       })
       })
         .toPromise()
         .toPromise()
         .then((response) => {
         .then((response) => {

+ 0 - 1
src/views/houseSelfCollect/settlement.vue

@@ -359,7 +359,6 @@ export default {
   },
   },
   methods: {
   methods: {
     print() {
     print() {
-      debugger
       // this.xx = true;
       // this.xx = true;
       // let newstr = document.getElementById('print').innerHTML
       // let newstr = document.getElementById('print').innerHTML
       // let oldstr = document.body.innerHTML
       // let oldstr = document.body.innerHTML

+ 104 - 7
src/views/houseSelfCollect/weightCheck.vue

@@ -16,7 +16,7 @@
         >
         >
       </el-col>
       </el-col>
     </el-row>
     </el-row>
-    <div>
+    <div class="substance">
       <ws-form>
       <ws-form>
         <div style="width: 50%; margin: 0 auto">
         <div style="width: 50%; margin: 0 auto">
           <div class="title">基本信息</div>
           <div class="title">基本信息</div>
@@ -31,7 +31,7 @@
               />
               />
             </ws-form-item>
             </ws-form-item>
             <ws-form-item label="仓位号" span="1" prop="binNumber">
             <ws-form-item label="仓位号" span="1" prop="binNumber">
-              <ws-select
+              <!-- <ws-select
                 v-model="inspect.binNumber"
                 v-model="inspect.binNumber"
                 placeholder="请输入仓位号"
                 placeholder="请输入仓位号"
                 class="typeselect"
                 class="typeselect"
@@ -44,10 +44,17 @@
                   :label="item.value"
                   :label="item.value"
                   :value="item.value"
                   :value="item.value"
                 />
                 />
-              </ws-select>
+              </ws-select> -->
+               <ws-input
+                v-model="inspect.binNumber"
+                placeholder="请输入仓位号"
+                maxlength="100"
+                disabled
+                size="small"
+              />
             </ws-form-item>
             </ws-form-item>
             <ws-form-item label="客户" span="1" prop="customerName">
             <ws-form-item label="客户" span="1" prop="customerName">
-              <ws-select
+              <!-- <ws-select
                 v-model="inspect.customerName"
                 v-model="inspect.customerName"
                 placeholder="请输入客户"
                 placeholder="请输入客户"
                 class="typeselect"
                 class="typeselect"
@@ -60,7 +67,14 @@
                   :label="item.value"
                   :label="item.value"
                   :value="item.value"
                   :value="item.value"
                 />
                 />
-              </ws-select>
+              </ws-select> -->
+               <ws-input
+                v-model="inspect.customerName"
+                placeholder="请输入客户"
+                maxlength="100"
+                disabled
+                size="small"
+              />
             </ws-form-item>
             </ws-form-item>
             <ws-form-item label="囤位号" span="1" prop="storageTagNo">
             <ws-form-item label="囤位号" span="1" prop="storageTagNo">
               <ws-input
               <ws-input
@@ -81,7 +95,7 @@
               />
               />
             </ws-form-item>
             </ws-form-item>
             <ws-form-item label="货名" span="1" prop="goodsName">
             <ws-form-item label="货名" span="1" prop="goodsName">
-              <ws-select
+              <!-- <ws-select
                 v-model="inspect.goodsName"
                 v-model="inspect.goodsName"
                 placeholder=""
                 placeholder=""
                 class="typeselect"
                 class="typeselect"
@@ -94,7 +108,15 @@
                   :label="item.goodsName"
                   :label="item.goodsName"
                   :value="item.goodsName"
                   :value="item.goodsName"
                 />
                 />
-              </ws-select>
+              </ws-select> -->
+
+              <ws-input
+                v-model="inspect.goodsName"
+                placeholder="请输入货名"
+                maxlength="100"
+                size="small"
+                :disabled="disabled"
+              />
             </ws-form-item>
             </ws-form-item>
             <ws-form-item label="毛重(公斤)" span="1" prop="buckleWeightRatio">
             <ws-form-item label="毛重(公斤)" span="1" prop="buckleWeightRatio">
               <ws-input
               <ws-input
@@ -162,6 +184,7 @@ export default {
     return {
     return {
         inspect:{},
         inspect:{},
         types:1,
         types:1,
+        information:"头部信息",
     }
     }
   },
   },
   activated() {},
   activated() {},
@@ -172,4 +195,78 @@ export default {
 .center {
 .center {
   background: #f6f7fc;
   background: #f6f7fc;
 }
 }
+.ws-info-table {
+  border: none;
+}
+.ws-info-table .el-form-item {
+  width: 50%;
+  border: none;
+}
+/deep/.ws-info-table .el-form-item .el-form-item__label {
+  width: 30%;
+  text-align: center;
+  background: #ffffff;
+  font-size: 14px;
+  color: #8890b1;
+}
+/deep/.ws-info-table .el-form-item .el-form-item__content {
+  border: none;
+}
+.title {
+  font-size: 16px;
+  font-weight: 600;
+  margin: 10px;
+}
+.titleup {
+  position: relative;
+}
+.title::before {
+  content: '';
+  display: inline-block;
+  width: 5px;
+  height: 15px;
+  background: #8890b1;
+  margin-right: 5px;
+}
+
+.substance {
+  background: #ffffff;
+  width: 100%;
+  border-radius: 4px;
+  margin: 0 auto;
+  padding-top: 20px;
+}
+/deep/.el-table .el-table__header .cell,
+.el-table .el-table__body .cell {
+  text-align: center;
+}
+/deep/.el-table--enable-row-transition .el-table__body td {
+  text-align: center;
+}
+.bg-left {
+  padding-left: 30px;
+}
+.bg-right {
+  padding-right: 10px;
+  text-align: right;
+}
+.bg-bottom {
+  margin: 15px 0px;
+}
+.titleup {
+  position: relative;
+}
+.titleup::before {
+  content: '';
+  display: inline-block;
+  width: 5px;
+  height: 30px;
+  background: #5473e8;
+  position: absolute;
+  left: 0;
+}
+.but {
+  text-align: center;
+  margin: 20px auto;
+}
 </style> 
 </style> 

+ 4 - 4
src/views/tranManagement/tranManagementUnShippingFeedbackLook.vue

@@ -138,10 +138,10 @@
               <span class="noservice" v-show="item.status == '未装车'">
               <span class="noservice" v-show="item.status == '未装车'">
                   未装船
                   未装船
                 </span>
                 </span>
-                <span class="service" v-show="item.status == '已装车'">
+                <span class="noservice" v-show="item.status == '已装车'">
                    未卸船
                    未卸船
                 </span>
                 </span>
-                 <span class="serviced" v-show="item.status == '已送达'">
+                 <span class="service" v-show="item.status == '已送达'">
                    已卸船
                    已卸船
                 </span>
                 </span>
             </div>
             </div>
@@ -150,10 +150,10 @@
               <span class="noservice" v-show="item.status == '未装车'">
               <span class="noservice" v-show="item.status == '未装车'">
                   未装船
                   未装船
                 </span>
                 </span>
-                <span class="service" v-show="item.status == '已装车'">
+                <span class="noservice" v-show="item.status == '已装车'">
                    未卸船
                    未卸船
                 </span>
                 </span>
-                 <span class="serviced" v-show="item.status == '已送达'">
+                 <span class="service" v-show="item.status == '已送达'">
                    已卸船
                    已卸船
                 </span>
                 </span>
             </div>
             </div>