|
|
|
@ -88,7 +88,9 @@ |
|
|
|
<el-form-item :label="'关联单号3:'"> |
|
|
|
<el-input v-model="dataForm.orderItemNo" readonly style="width: 120px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item style="margin-top: 30px"> |
|
|
|
<el-button @click="saveCRoll()" type="primary" style="width: 108px;margin-left: 142px;">创建</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 0px;"> |
|
|
|
<el-form-item :label="'供应商编号:'"> |
|
|
|
@ -98,7 +100,7 @@ |
|
|
|
<el-input v-model="dataForm.supplierName" readonly style="width: 255px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item style="margin-top: 30px"> |
|
|
|
<el-button @click="saveCRoll()" type="primary" style="width: 108px;margin-left: 142px;">创建</el-button> |
|
|
|
<el-button @click="modelFlag=false" type="primary" style="width: 108px;margin-left: 142px;">关闭</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 0px;"> |
|
|
|
@ -112,7 +114,7 @@ |
|
|
|
<el-input v-model="dataForm.spec" readonly style="width: 180px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item style="margin-top: 30px"> |
|
|
|
<el-button @click="modelFlag=false" type="primary" style="width: 108px;margin-left: 82px;">关闭</el-button> |
|
|
|
<el-button @click="getSaveModel()" type="primary" style="margin-left: 82px;">供应商批号录入</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 0px;"> |
|
|
|
@ -130,9 +132,6 @@ |
|
|
|
<el-form-item :label="'订单数量:'"> |
|
|
|
<el-input v-model="dataForm.quantity" readonly style="width: 120px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item style="margin-top: 30px"> |
|
|
|
<el-button @click="getSaveModel()" type="primary" style="margin-left: 142px;">供应商批号录入</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 0px;"> |
|
|
|
<el-form-item :label="'每卷数量:'"> |
|
|
|
@ -152,9 +151,9 @@ |
|
|
|
<!-- style="margin-left: 73px">--> |
|
|
|
<!-- </el-switch>--> |
|
|
|
<!-- <span>{{'自动打印标签'}}</span>--> |
|
|
|
<el-checkbox style="margin-left: 108px" v-model="dataForm.checked">自动打印标签</el-checkbox> |
|
|
|
<!-- <el-checkbox style="margin-left: 108px" v-model="dataForm.checked">自动打印标签</el-checkbox>--> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'材料编码:'"> |
|
|
|
<el-form-item :label="'材料编码:'" style="margin-left: 208px"> |
|
|
|
<el-input v-model="dataForm.XX" style="width: 120px;"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
@ -381,7 +380,7 @@ |
|
|
|
customerID: '', |
|
|
|
fGPartNo: '', |
|
|
|
referencePartDesc: '', |
|
|
|
checked: false, |
|
|
|
checked: true, |
|
|
|
referenceSupplierID:'', |
|
|
|
referenceSupplierName:'', |
|
|
|
XX: '', |
|
|
|
@ -982,7 +981,7 @@ |
|
|
|
customerID: '无', |
|
|
|
fGPartNo: '无', |
|
|
|
referencePartDesc:'', |
|
|
|
checked: false, |
|
|
|
checked: true, |
|
|
|
XX: '', |
|
|
|
}; |
|
|
|
// this.dataForm.fGPartNo='无'; |
|
|
|
@ -1073,8 +1072,8 @@ |
|
|
|
referencePartDesc:this.dataForm.referencePartDesc |
|
|
|
} |
|
|
|
this.dataList1.push(newDate) |
|
|
|
this.sum1 += newDate.rollNumber; |
|
|
|
this.sum2 += newDate.allRollQty; |
|
|
|
this.sum1 = Number(this.sum1)+ Number(newDate.rollNumber); |
|
|
|
this.sum2 = Number(this.sum2)+ Number(newDate.allRollQty); |
|
|
|
}, |
|
|
|
saveCRoll() { |
|
|
|
let inData = { |
|
|
|
@ -1142,7 +1141,7 @@ |
|
|
|
searchCRollInfoDetail(inData).then(({data}) => { |
|
|
|
this.dataList3 = data.rows |
|
|
|
for (let i = 0; i < data.total; i++) { |
|
|
|
this.sum4 += this.dataList3[i].rollQty; |
|
|
|
this.sum4 = Number(this.sum4)+ Number(this.dataList3[i].rollQty); |
|
|
|
} |
|
|
|
this.sum3 = data.total; |
|
|
|
}) |
|
|
|
@ -1229,7 +1228,7 @@ |
|
|
|
customerID: '无', |
|
|
|
fGPartNo: '无', |
|
|
|
referencePartDesc: '', |
|
|
|
checked: false, |
|
|
|
checked: true, |
|
|
|
XX: '', |
|
|
|
}; |
|
|
|
this.$set(this.dataForm, 'receive', new Date()); |
|
|
|
@ -1242,7 +1241,7 @@ |
|
|
|
searchCRollInfoDetail(inData).then(({data}) => { |
|
|
|
this.dataList3 = data.rows |
|
|
|
for (let i = 0; i < data.total; i++) { |
|
|
|
this.sum4 += this.dataList3[i].rollQty; |
|
|
|
this.sum4 = Number(this.sum4) +Number(this.dataList3[i].rollQty); |
|
|
|
} |
|
|
|
this.sum3 = data.total; |
|
|
|
}) |
|
|
|
@ -1270,7 +1269,7 @@ |
|
|
|
customerID: '无', |
|
|
|
fGPartNo: '无', |
|
|
|
referencePartDesc: '', |
|
|
|
checked: false, |
|
|
|
checked: true, |
|
|
|
XX: '', |
|
|
|
}; |
|
|
|
this.$set(this.dataForm, 'receive', new Date()); |
|
|
|
|