|
@@ -247,7 +247,15 @@
|
|
</div>
|
|
</div>
|
|
</ws-form>
|
|
</ws-form>
|
|
</div>
|
|
</div>
|
|
- <houseSelfCollectPrint v-show="false"></houseSelfCollectPrint>
|
|
|
|
|
|
+ <el-dialog
|
|
|
|
+ width="70%"
|
|
|
|
+ class="table-content"
|
|
|
|
+ center
|
|
|
|
+ :visible.sync="isShowPrint"
|
|
|
|
+ title="粮食质检单"
|
|
|
|
+ >
|
|
|
|
+ <inspectInfoPrint :printData="inspect"></inspectInfoPrint>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -263,14 +271,15 @@ import {
|
|
getCount
|
|
getCount
|
|
} from '@/model/houseSelfCollect/index'
|
|
} from '@/model/houseSelfCollect/index'
|
|
import { packList } from '@/model/contarct/index'
|
|
import { packList } from '@/model/contarct/index'
|
|
-import houseSelfCollectPrint from './houseSelfCollectPrint.vue'
|
|
|
|
|
|
+import inspectInfoPrint from './component/inspectInfoPrint.vue'
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
- houseSelfCollectPrint,
|
|
|
|
|
|
+ inspectInfoPrint,
|
|
},
|
|
},
|
|
watch: {},
|
|
watch: {},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ isShowPrint:false,
|
|
// warehouseList: {},
|
|
// warehouseList: {},
|
|
inspect: {
|
|
inspect: {
|
|
tidalGrainPrice: 0,
|
|
tidalGrainPrice: 0,
|
|
@@ -335,257 +344,260 @@ export default {
|
|
// + this.verifyinit()
|
|
// + this.verifyinit()
|
|
},
|
|
},
|
|
print() {
|
|
print() {
|
|
- if (!this.inspect.qualityNo) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '编号不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.binNumber) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '仓位不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.customerName) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '客户不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.storageTagNo) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '囤位号不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
|
|
+ this.isShowPrint = true
|
|
|
|
+ // if (!this.inspect.qualityNo) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '编号不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.binNumber) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '仓位不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.customerName) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '客户不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.storageTagNo) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '囤位号不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
|
|
- if (this.inspect.storageTagNo.length > 10) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '囤位号不超过10个字符',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.carNumber) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '车牌号不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (this.inspect.carNumber.length > 7) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '车牌号输入错误',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.goodsName) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '货名不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (
|
|
|
|
- this.inspect.buckleWeightRatio < 0 ||
|
|
|
|
- this.inspect.buckleWeightRatio > 2
|
|
|
|
- ) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '扣重比输入错误',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (
|
|
|
|
- String(this.inspect.buckleWeightRatio).indexOf('.') != -1 &&
|
|
|
|
- String(this.inspect.buckleWeightRatio).length -
|
|
|
|
- (String(this.inspect.buckleWeightRatio).indexOf('.') + 1) >
|
|
|
|
- 2
|
|
|
|
- ) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '扣重比输入错误',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.type) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '类型不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.type) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '类型不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.natureOfGrainPurchase) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '购粮性质不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.grade) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '等级不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.impurity) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '杂质不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.waterContent) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '水分不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.mildewGrain) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '霉变粒不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.bulkDensity) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '容重不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.jiaorenli) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '热损伤不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- if (!this.inspect.imperfectGrain) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '不完整粒不能为空',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- //查看当前用户对应货名有未结算状态的送货
|
|
|
|
- let count = 0
|
|
|
|
- getCount({
|
|
|
|
- compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
|
- customerName: this.inspect.customerName,
|
|
|
|
- goodsName: this.inspect.goodsName,
|
|
|
|
- }) .toPromise()
|
|
|
|
- .then((response) => {
|
|
|
|
- count = response
|
|
|
|
- })
|
|
|
|
- // 客户下拉校验
|
|
|
|
- getamount({
|
|
|
|
- compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
|
- customerName: this.inspect.customerName,
|
|
|
|
- goodsName: this.inspect.goodsName,
|
|
|
|
- })
|
|
|
|
- .toPromise()
|
|
|
|
- .then((response) => {
|
|
|
|
- for (let i = 0; i < this.purchasePriceList.length; i++) {
|
|
|
|
- if (this.inspect.goodsName == this.purchasePriceList[i].goodsName) {
|
|
|
|
- console.log(this.purchasePriceList[i].saleLimit - response)
|
|
|
|
- if (this.purchasePriceList[i].saleLimit - response < 50 || count > 0) {
|
|
|
|
- // this.$confirm(
|
|
|
|
- // '当前客户已累计销售我司' +
|
|
|
|
- // this.inspect.goodsName +
|
|
|
|
- // response +
|
|
|
|
- // '吨,最高可售' +
|
|
|
|
- // this.purchasePriceList[i].saleLimit +
|
|
|
|
- // '吨。',
|
|
|
|
- // '提示',
|
|
|
|
- // {
|
|
|
|
- // cancelButtonText: '取消',
|
|
|
|
- // type: 'warning',
|
|
|
|
- // }
|
|
|
|
- // )
|
|
|
|
- // .then(() => {})
|
|
|
|
- // .catch(() => {
|
|
|
|
- // return false
|
|
|
|
- // })
|
|
|
|
- this.$alert('当前客户已累计销售我司' +this.inspect.goodsName + response +'吨,最高可售' +this.purchasePriceList[i].saleLimit +'吨。',
|
|
|
|
- '提示',
|
|
|
|
- {
|
|
|
|
- confirmButtonText: '确定',
|
|
|
|
- callback: (action) => {
|
|
|
|
- // this.$message({
|
|
|
|
- // type: 'info',
|
|
|
|
- // message: `累计售粮已超出上限`,
|
|
|
|
- // })
|
|
|
|
- },
|
|
|
|
- }
|
|
|
|
- )
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- this.inspect.warehouseName = this.warehouseName
|
|
|
|
- this.inspect.compId = sessionStorage.getItem('ws-pf_compId')
|
|
|
|
- this.qualityInspector = sessionStorage.getItem('ws-pf_staffName')
|
|
|
|
- if (this.types == null) {
|
|
|
|
- this.$confirm('确定保存质检信息?', '提示', {
|
|
|
|
- confirmButtonText: '确定',
|
|
|
|
- cancelButtonText: '取消',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- .then(() => {
|
|
|
|
- inspectAdd(this.inspect)
|
|
|
|
- .toPromise()
|
|
|
|
- .then((response) => {
|
|
|
|
- this.$message.success('保存成功')
|
|
|
|
- this.$router.go(-1)
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
- .catch(() => {
|
|
|
|
- return false
|
|
|
|
- })
|
|
|
|
- } else if (this.types == 3) {
|
|
|
|
- this.$confirm('确定保存质检信息?', '提示', {
|
|
|
|
- confirmButtonText: '确定',
|
|
|
|
- cancelButtonText: '取消',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- .then(() => {
|
|
|
|
- // return
|
|
|
|
- getinspectEdit(this.inspect)
|
|
|
|
- .toPromise()
|
|
|
|
- .then((response) => {
|
|
|
|
- this.$message.success('修改成功')
|
|
|
|
- // this.xx = true;
|
|
|
|
- // let newstr = document.getElementById('print').innerHTML
|
|
|
|
- // let oldstr = document.body.innerHTML
|
|
|
|
- // document.body.innerHTML = newstr
|
|
|
|
- // window.print()
|
|
|
|
- // document.body.innerHTML = oldstr
|
|
|
|
- // window.location.reload()
|
|
|
|
- // this.$router.push({ path: 'paymentManagement' })
|
|
|
|
- this.$router.go(-1)
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
- .catch(() => {
|
|
|
|
- return false
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
|
|
+ // if (this.inspect.storageTagNo.length > 10) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '囤位号不超过10个字符',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.carNumber) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '车牌号不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (this.inspect.carNumber.length > 7) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '车牌号输入错误',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.goodsName) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '货名不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (
|
|
|
|
+ // this.inspect.buckleWeightRatio < 0 ||
|
|
|
|
+ // this.inspect.buckleWeightRatio > 2
|
|
|
|
+ // ) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '扣重比输入错误',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (
|
|
|
|
+ // String(this.inspect.buckleWeightRatio).indexOf('.') != -1 &&
|
|
|
|
+ // String(this.inspect.buckleWeightRatio).length -
|
|
|
|
+ // (String(this.inspect.buckleWeightRatio).indexOf('.') + 1) >
|
|
|
|
+ // 2
|
|
|
|
+ // ) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '扣重比输入错误',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.type) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '类型不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.type) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '类型不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.natureOfGrainPurchase) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '购粮性质不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.grade) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '等级不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.impurity) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '杂质不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.waterContent) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '水分不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.mildewGrain) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '霉变粒不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.bulkDensity) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '容重不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.jiaorenli) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '热损伤不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // if (!this.inspect.imperfectGrain) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '不完整粒不能为空',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // //查看当前用户对应货名有未结算状态的送货
|
|
|
|
+ // let count = 0
|
|
|
|
+ // getCount({
|
|
|
|
+ // compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
|
+ // customerName: this.inspect.customerName,
|
|
|
|
+ // goodsName: this.inspect.goodsName,
|
|
|
|
+ // }) .toPromise()
|
|
|
|
+ // .then((response) => {
|
|
|
|
+ // count = response
|
|
|
|
+ // })
|
|
|
|
+ // // 客户下拉校验
|
|
|
|
+ // getamount({
|
|
|
|
+ // compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
|
+ // customerName: this.inspect.customerName,
|
|
|
|
+ // goodsName: this.inspect.goodsName,
|
|
|
|
+ // })
|
|
|
|
+ // .toPromise()
|
|
|
|
+ // .then((response) => {
|
|
|
|
+ // for (let i = 0; i < this.purchasePriceList.length; i++) {
|
|
|
|
+ // if (this.inspect.goodsName == this.purchasePriceList[i].goodsName) {
|
|
|
|
+ // console.log(this.purchasePriceList[i].saleLimit - response)
|
|
|
|
+ // if (this.purchasePriceList[i].saleLimit - response < 50 || count > 0) {
|
|
|
|
+ // // this.$confirm(
|
|
|
|
+ // // '当前客户已累计销售我司' +
|
|
|
|
+ // // this.inspect.goodsName +
|
|
|
|
+ // // response +
|
|
|
|
+ // // '吨,最高可售' +
|
|
|
|
+ // // this.purchasePriceList[i].saleLimit +
|
|
|
|
+ // // '吨。',
|
|
|
|
+ // // '提示',
|
|
|
|
+ // // {
|
|
|
|
+ // // cancelButtonText: '取消',
|
|
|
|
+ // // type: 'warning',
|
|
|
|
+ // // }
|
|
|
|
+ // // )
|
|
|
|
+ // // .then(() => {})
|
|
|
|
+ // // .catch(() => {
|
|
|
|
+ // // return false
|
|
|
|
+ // // })
|
|
|
|
+ // this.$alert('当前客户已累计销售我司' +this.inspect.goodsName + response +'吨,最高可售' +this.purchasePriceList[i].saleLimit +'吨。',
|
|
|
|
+ // '提示',
|
|
|
|
+ // {
|
|
|
|
+ // confirmButtonText: '确定',
|
|
|
|
+ // callback: (action) => {
|
|
|
|
+ // // this.$message({
|
|
|
|
+ // // type: 'info',
|
|
|
|
+ // // message: `累计售粮已超出上限`,
|
|
|
|
+ // // })
|
|
|
|
+ // },
|
|
|
|
+ // }
|
|
|
|
+ // )
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
|
|
+ // })
|
|
|
|
+ // this.inspect.warehouseName = this.warehouseName
|
|
|
|
+ // this.inspect.compId = sessionStorage.getItem('ws-pf_compId')
|
|
|
|
+ // this.qualityInspector = sessionStorage.getItem('ws-pf_staffName')
|
|
|
|
+ // if (this.types == null) {
|
|
|
|
+ // this.$confirm('确定保存质检信息?', '提示', {
|
|
|
|
+ // confirmButtonText: '确定',
|
|
|
|
+ // cancelButtonText: '取消',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // .then(() => {
|
|
|
|
+ // inspectAdd(this.inspect)
|
|
|
|
+ // .toPromise()
|
|
|
|
+ // .then((response) => {
|
|
|
|
+ // this.$message.success('保存成功')
|
|
|
|
+ // //打印
|
|
|
|
+ // // this.$router.go(-1)
|
|
|
|
+ // })
|
|
|
|
+ // })
|
|
|
|
+ // .catch(() => {
|
|
|
|
+ // return false
|
|
|
|
+ // })
|
|
|
|
+ // } else if (this.types == 3) {
|
|
|
|
+ // this.$confirm('确定保存质检信息?', '提示', {
|
|
|
|
+ // confirmButtonText: '确定',
|
|
|
|
+ // cancelButtonText: '取消',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // .then(() => {
|
|
|
|
+ // // return
|
|
|
|
+ // getinspectEdit(this.inspect)
|
|
|
|
+ // .toPromise()
|
|
|
|
+ // .then((response) => {
|
|
|
|
+ // this.$message.success('修改成功')
|
|
|
|
+ // // this.xx = true;
|
|
|
|
+ // // let newstr = document.getElementById('print').innerHTML
|
|
|
|
+ // // let oldstr = document.body.innerHTML
|
|
|
|
+ // // document.body.innerHTML = newstr
|
|
|
|
+ // // window.print()
|
|
|
|
+ // // document.body.innerHTML = oldstr
|
|
|
|
+ // // window.location.reload()
|
|
|
|
+ // // this.$router.push({ path: 'paymentManagement' })
|
|
|
|
+ // //打印
|
|
|
|
+ // // this.$router.go(-1)
|
|
|
|
+ // })
|
|
|
|
+ // })
|
|
|
|
+ // .catch(() => {
|
|
|
|
+ // return false
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
},
|
|
},
|
|
cancel() {
|
|
cancel() {
|
|
this.$router.push({ path: 'inspectionManagement' })
|
|
this.$router.push({ path: 'inspectionManagement' })
|
|
@@ -678,6 +690,15 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+ /deep/.el-dialog__header {
|
|
|
|
+ text-align: center !important;
|
|
|
|
+ padding: 10px 0 !important;
|
|
|
|
+ height: auto !important;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.el-dialog__title {
|
|
|
|
+ font-size: 24px !important;
|
|
|
|
+ }
|
|
.center {
|
|
.center {
|
|
background: #f6f7fc;
|
|
background: #f6f7fc;
|
|
}
|
|
}
|