|
@@ -202,7 +202,7 @@
|
|
|
v-model="weighingList.grossWeight" @input="calculation" placeholder="未获取到毛重" maxlength="100"
|
|
|
size="small" :disabled="disabled" />
|
|
|
<el-button v-if="tpyeNo == 2 && warehouseType == 1" @click="openPort">重新获取</el-button>
|
|
|
- <el-button v-if="tpyeNo == 2 && warehouseType == 2" @click="disabled = false">编辑</el-button>
|
|
|
+ <!-- <el-button v-if="tpyeNo == 2 && warehouseType == 2" @click="disabled = false">编辑</el-button> -->
|
|
|
</ws-form-item>
|
|
|
<ws-form-item label="皮重(KG)" span="1" prop="tare" v-if="information == '毛重'">
|
|
|
<ws-input type="number" @mousewheel.native.prevent v-model="weighingList.tare"
|
|
@@ -212,7 +212,7 @@
|
|
|
<ws-input type="number" @mousewheel.native.prevent v-model="weighingList.tare"
|
|
|
@input="calculation" placeholder="未获取到皮重" maxlength="100" size="small" :disabled="disabled" />
|
|
|
<el-button v-if="tpyeNo == 1 && warehouseType == 1" @click="openPort">重新获取</el-button>
|
|
|
- <el-button v-if="tpyeNo == 1 && warehouseType == 2" @click="disabled = false">编辑</el-button>
|
|
|
+ <!-- <el-button v-if="tpyeNo == 1 && warehouseType == 2" @click="disabled = false">编辑</el-button> -->
|
|
|
</ws-form-item>
|
|
|
<div class="formItem">
|
|
|
<!-- <ws-form-item label="扣重(KG)" span="1" prop="buckleMiscellaneous" v-if="
|
|
@@ -1851,6 +1851,7 @@
|
|
|
return date.getFullYear() + mouth + day
|
|
|
},
|
|
|
contractNoChange(e) {
|
|
|
+
|
|
|
this.weighingList={
|
|
|
grossWeight: '',
|
|
|
tare: '',
|
|
@@ -1882,6 +1883,7 @@
|
|
|
this.weighingList.inOutTaskNo=e
|
|
|
this.warehouseCount = this.warehouseCount1
|
|
|
var data = null
|
|
|
+
|
|
|
for (let i = 0; i < this.taskNolist.length; i++) {
|
|
|
if (this.taskNolist[i].inOutTaskNo == e) {
|
|
|
// this.weighingList.number = this.taskNolist[i].inOutTaskNo
|
|
@@ -1890,8 +1892,9 @@
|
|
|
this.weighingList.goodsName = this.taskNolist[i].goodsName
|
|
|
this.weighingList.tips = this.taskNolist[i].businessDescribe
|
|
|
data = this.taskNolist[i]
|
|
|
-
|
|
|
- if(this.taskNolist[i].inOutType=='移库出库'){
|
|
|
+ console.log(data,11111111111)
|
|
|
+ if(this.taskNolist[i].inOutType=='移库出库'){
|
|
|
+
|
|
|
this.weighingList.contractNo = this.taskNolist[i].moveTaskNo
|
|
|
gettask({moveTaskNo:this.taskNolist[i].moveTaskNo,compId:localStorage.getItem('ws-pf_compId')}).toPromise().then((response) => {
|
|
|
// console.log(response)
|
|
@@ -1963,6 +1966,14 @@
|
|
|
}
|
|
|
this.weighingList.inOutTypeKey = 1
|
|
|
} else if (this.outContractNo[i].inOutType == '移库出库') {
|
|
|
+ for (let q = 0; q < this.warehouseList1.length; q++) {
|
|
|
+ if (this.warehouseList1[q].warehouseName == this.warehouseName) {
|
|
|
+ if(this.warehouseList1[q].warehouseType==2&&this.warehouseList1[q].createType==1){
|
|
|
+ console.log(this.outContractNo[i].contractPrice,11111111111)
|
|
|
+ this.weighingList.contractPrice=this.outContractNo[i].contractPrice
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
this.warehouseCount = '000' + (Number(this.warehouseCount) + 1)
|
|
|
this.weighingList.numberLetter = 'YKCK'
|
|
|
|