gjy 2 лет назад
Родитель
Сommit
f1005a9f55

+ 1 - 1
src/views/taskManagement/tranManagementWarehouseInOutTaskEdit.vue

@@ -1412,7 +1412,7 @@ export default {
         this.dataList.taskTypeKey == 3 ||
         this.dataList.taskTypeKey == 4
       ) {
-        this.dataList1.moveTaskNo=this.dataList1.contractNo
+        // this.dataList1.moveTaskNo=this.dataList1.contractNo
         if (!this.dataList.warehouseName) {
           this.$message({
             message: '出库仓库名不能为空!',

+ 10 - 10
src/views/warehousenew/inventoryCheck.vue

@@ -75,8 +75,8 @@
       <el-table class="wenzi" :data="item.warehousingOrderList" style="width: 100%"   >
         <el-table-column  width="40">
           <template scope="scope">
-            <img v-if="!scope.row.select" style='width:15px;vertical-align: text-top;' @click='radiochange1(index,scope.row)' src="../../../public/img/wxz.png" alt="">
-            <img v-if="scope.row.select" style='width:15px;vertical-align: text-top;' @click='radiochange(index,scope.row)' src="../../../public/img/xz.png" alt="">
+            <img v-if="!scope.row.select" style='width:15px;vertical-align: text-top;' @click='radiochange1(index,scope.row,item)' src="../../../public/img/wxz.png" alt="">
+            <img v-if="scope.row.select" style='width:15px;vertical-align: text-top;' @click='radiochange(index,scope.row,item)' src="../../../public/img/xz.png" alt="">
             <!-- <el-radio @change='radiochange(scope.row)' :name='indexMethod()+index' v-model="scope.row.select" :label="scope.row.id"><span></span></el-radio> -->
              <!-- <el-radio :label="scope.row.id" v-model="scope.row.select" @change.native="radiochange(index,scope.row)">&nbsp;</el-radio> -->
           </template>
@@ -341,7 +341,6 @@
       this.getList()
     },
     goodsNameChange(e){
-      console.log(e,1111111111)
       if (e == '全部货名' || e == '0') {
         this.goodsName = '0'
         this.reserves = ''
@@ -445,7 +444,7 @@
         this.flag=status
         this.getList()
       },
-      radiochange(index,row){
+      radiochange(index,row,item){
         console.log(index,row.select)
         var data=this.gainList[index].warehousingOrderList
         for (let i = 0; i < data.length; i++) {
@@ -455,15 +454,15 @@
         
         console.log(this.multipleSelection)
       },
-      radiochange1(index,row){
+      radiochange1(index,row,item){
         console.log(index,row.select)
         var data=this.gainList[index].warehousingOrderList
         for (let i = 0; i < data.length; i++) {
           data[i].select=false
           }
           row.select=!row.select
-        this.multipleSelection[row.id]=row
-        console.log(this.multipleSelection[row.id])
+        this.multipleSelection[item.id]=row
+        console.log(this.multipleSelection[item.id])
       },
        handleCurrentChange(val) {
         this.currentRow = val;
@@ -490,8 +489,9 @@
         }
       },
       lose(ware){
-        console.log(localStorage.getItem('ws-pf_roleName'))
-        if(localStorage.getItem('ws-pf_roleName')=='销售内勤'||localStorage.getItem('ws-pf_roleName')=='采购内勤'){
+        console.log(ware)
+        if(localStorage.getItem('ws-pf_roleName')=='销售内勤'||localStorage.getItem('ws-pf_roleName')=='采购内勤' || localStorage.getItem('ws-pf_roleName')=='合同专员'){
+          console.log(this.multipleSelection)
           if(this.multipleSelection[ware.id]){
             this.form.baseId=ware.baseId
             this.form.goodsName=this.multipleSelection[ware.id].goodsName
@@ -526,7 +526,7 @@
         }
       },
       profit(ware){
-        if(localStorage.getItem('ws-pf_roleName')=='销售内勤'||localStorage.getItem('ws-pf_roleName')=='采购内勤'){
+        if(localStorage.getItem('ws-pf_roleName')=='销售内勤'||localStorage.getItem('ws-pf_roleName')=='采购内勤' || localStorage.getItem('ws-pf_roleName')=='合同专员'){
           if(this.multipleSelection[ware.id]){
           this.form.baseId=ware.baseId
           this.form.goodsName=this.multipleSelection[ware.id].goodsName