|
@@ -765,16 +765,16 @@
|
|
</span>
|
|
</span>
|
|
<span v-else-if="item.label == 'fInvamount'">
|
|
<span v-else-if="item.label == 'fInvamount'">
|
|
<el-input v-model="scope.row.fInvamount" :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
<el-input v-model="scope.row.fInvamount" :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
- placeholder="开票金额" show-word-limit disabled/>
|
|
|
|
|
|
+ placeholder="开票金额" show-word-limit disabled />
|
|
</span>
|
|
</span>
|
|
<span v-else-if="item.label == 'fInvnos'">
|
|
<span v-else-if="item.label == 'fInvnos'">
|
|
<el-input v-model="scope.row.fInvnos" :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
<el-input v-model="scope.row.fInvnos" :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
- placeholder="发票号" show-word-limit disabled/>
|
|
|
|
|
|
+ placeholder="发票号" show-word-limit disabled />
|
|
</span>
|
|
</span>
|
|
<span v-else-if="item.label == 'fInvoicingDate'">
|
|
<span v-else-if="item.label == 'fInvoicingDate'">
|
|
<el-date-picker v-model="scope.row.fInvoicingDate"
|
|
<el-date-picker v-model="scope.row.fInvoicingDate"
|
|
- :disabled="browseStatus || scope.row.fBillstatus == 6" placeholder="开票时间" format="yyyy-MM-dd"
|
|
|
|
- value-format="yyyy-MM-dd" disabled/>
|
|
|
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6" placeholder="开票时间" format="yyyy-MM-dd"
|
|
|
|
+ value-format="yyyy-MM-dd" disabled />
|
|
</span>
|
|
</span>
|
|
<span v-else-if="item.label == 'fQty'">
|
|
<span v-else-if="item.label == 'fQty'">
|
|
<el-input
|
|
<el-input
|
|
@@ -786,7 +786,7 @@
|
|
<el-input
|
|
<el-input
|
|
oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
|
|
oninput='this.value=this.value.replace(/[^\-?\d.]/g,"").replace(/^(\-)*(\d+)\.(\d\d).*$/, "$1$2.$3")'
|
|
v-model="scope.row.fUnitprice" placeholder="单价"
|
|
v-model="scope.row.fUnitprice" placeholder="单价"
|
|
- :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
|
|
|
|
+ :disabled="browseStatus || scope.row.fBillstatus == 6"
|
|
@change="changeContractAmt(scope.row)" show-word-limit />
|
|
@change="changeContractAmt(scope.row)" show-word-limit />
|
|
</span>
|
|
</span>
|
|
<span v-else-if="item.label == 'fAmount'">
|
|
<span v-else-if="item.label == 'fAmount'">
|
|
@@ -2036,8 +2036,8 @@
|
|
</div>
|
|
</div>
|
|
<span lot="footer" class="dialog-footer">
|
|
<span lot="footer" class="dialog-footer">
|
|
<el-button type="primary" size="mini" @click="
|
|
<el-button type="primary" size="mini" @click="
|
|
- print_Cr = false;
|
|
|
|
- addprint('crzyd');
|
|
|
|
|
|
+ print_Cr = false;
|
|
|
|
+addprint('crzyd');
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_Cr = false" size="mini">取消 </el-button>
|
|
<el-button @click="print_Cr = false" size="mini">取消 </el-button>
|
|
@@ -2164,8 +2164,8 @@
|
|
</div>
|
|
</div>
|
|
<span lot="footer" class="dialog-footer">
|
|
<span lot="footer" class="dialog-footer">
|
|
<el-button type="primary" size="mini" @click="
|
|
<el-button type="primary" size="mini" @click="
|
|
- print_zyd = false;
|
|
|
|
- addprint('zyd');
|
|
|
|
|
|
+ print_zyd = false;
|
|
|
|
+addprint('zyd');
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_zyd = false; detailList = zcList.concat()" size="mini">取消 </el-button>
|
|
<el-button @click="print_zyd = false; detailList = zcList.concat()" size="mini">取消 </el-button>
|
|
@@ -2271,8 +2271,8 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- print_rkd = false;
|
|
|
|
- addprint('rkd');
|
|
|
|
|
|
+ print_rkd = false;
|
|
|
|
+addprint('rkd');
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_rkd = false">取消 </el-button>
|
|
<el-button @click="print_rkd = false">取消 </el-button>
|
|
@@ -2472,8 +2472,8 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- print_bzckd = false;
|
|
|
|
- addprint('bzckd');
|
|
|
|
|
|
+ print_bzckd = false;
|
|
|
|
+addprint('bzckd');
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_bzckd = false">取消 </el-button>
|
|
<el-button @click="print_bzckd = false">取消 </el-button>
|
|
@@ -2563,8 +2563,8 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- print_xqckd = false;
|
|
|
|
- addprint('xqckd');
|
|
|
|
|
|
+ print_xqckd = false;
|
|
|
|
+addprint('xqckd');
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_xqckd = false">取消 </el-button>
|
|
<el-button @click="print_xqckd = false">取消 </el-button>
|
|
@@ -2656,8 +2656,8 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- print_jyjsckd = false;
|
|
|
|
- addprint('jyjsckd');
|
|
|
|
|
|
+ print_jyjsckd = false;
|
|
|
|
+addprint('jyjsckd');
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_jyjsckd = false">取消 </el-button>
|
|
<el-button @click="print_jyjsckd = false">取消 </el-button>
|
|
@@ -2750,8 +2750,8 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- addprint('lhd');
|
|
|
|
- print_lhd = false;
|
|
|
|
|
|
+ addprint('lhd');
|
|
|
|
+print_lhd = false;
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_lhd = false">取消 </el-button>
|
|
<el-button @click="print_lhd = false">取消 </el-button>
|
|
@@ -2824,8 +2824,8 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- addprint('lwqr');
|
|
|
|
- print_lwqr = false;
|
|
|
|
|
|
+ addprint('lwqr');
|
|
|
|
+print_lwqr = false;
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_lwqr = false">取消 </el-button>
|
|
<el-button @click="print_lwqr = false">取消 </el-button>
|
|
@@ -2917,8 +2917,8 @@
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- addprint('ccckd');
|
|
|
|
- print_ccckd = false;
|
|
|
|
|
|
+ addprint('ccckd');
|
|
|
|
+print_ccckd = false;
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_ccckd = false">取消 </el-button>
|
|
<el-button @click="print_ccckd = false">取消 </el-button>
|
|
@@ -3011,8 +3011,8 @@
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- addprint('kbccd');
|
|
|
|
- print_kbccd = false;
|
|
|
|
|
|
+ addprint('kbccd');
|
|
|
|
+print_kbccd = false;
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_kbccd = false">取消 </el-button>
|
|
<el-button @click="print_kbccd = false">取消 </el-button>
|
|
@@ -3104,8 +3104,8 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- addprint('dcckd');
|
|
|
|
- print_dcckd = false;
|
|
|
|
|
|
+ addprint('dcckd');
|
|
|
|
+print_dcckd = false;
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_dcckd = false">取消 </el-button>
|
|
<el-button @click="print_dcckd = false">取消 </el-button>
|
|
@@ -3197,8 +3197,8 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- addprint('dcckd_blank');
|
|
|
|
- print_dcckd_blank = false;
|
|
|
|
|
|
+ addprint('dcckd_blank');
|
|
|
|
+print_dcckd_blank = false;
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_dcckd_blank = false">取消 </el-button>
|
|
<el-button @click="print_dcckd_blank = false">取消 </el-button>
|
|
@@ -3300,8 +3300,8 @@
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- addprint('zccdckd');
|
|
|
|
- print_zccdckd = false;
|
|
|
|
|
|
+ addprint('zccdckd');
|
|
|
|
+print_zccdckd = false;
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_zccdckd = false">取消 </el-button>
|
|
<el-button @click="print_zccdckd = false">取消 </el-button>
|
|
@@ -3392,8 +3392,8 @@
|
|
|
|
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- addprint('kbzccd');
|
|
|
|
- print_kbzccd = false;
|
|
|
|
|
|
+ addprint('kbzccd');
|
|
|
|
+print_kbzccd = false;
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_kbzccd = false">取消 </el-button>
|
|
<el-button @click="print_kbzccd = false">取消 </el-button>
|
|
@@ -3482,8 +3482,8 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- addprint('fyqrd');
|
|
|
|
- print_fyqr = false;
|
|
|
|
|
|
+ addprint('fyqrd');
|
|
|
|
+print_fyqr = false;
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_fyqr = false">取消 </el-button>
|
|
<el-button @click="print_fyqr = false">取消 </el-button>
|
|
@@ -3537,8 +3537,8 @@
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="zhgenlegData" :disabled="browseStatus">导 入</el-button>
|
|
<el-button type="primary" @click="zhgenlegData" :disabled="browseStatus">导 入</el-button>
|
|
<el-button @click="
|
|
<el-button @click="
|
|
- warehousingagreements = false;
|
|
|
|
- Navigation = false;
|
|
|
|
|
|
+ warehousingagreements = false;
|
|
|
|
+Navigation = false;
|
|
">取 消
|
|
">取 消
|
|
</el-button>
|
|
</el-button>
|
|
</div>
|
|
</div>
|
|
@@ -3620,8 +3620,8 @@
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button type="primary" @click="
|
|
<el-button type="primary" @click="
|
|
- addprint('Crfyqrd');
|
|
|
|
- print_Crfyqr = false;
|
|
|
|
|
|
+ addprint('Crfyqrd');
|
|
|
|
+print_Crfyqr = false;
|
|
">打印
|
|
">打印
|
|
</el-button>
|
|
</el-button>
|
|
<el-button @click="print_Crfyqr = false">取消 </el-button>
|
|
<el-button @click="print_Crfyqr = false">取消 </el-button>
|
|
@@ -3844,7 +3844,7 @@ import {
|
|
} from '@/api/warehouseBusiness/warehouseInStock'
|
|
} from '@/api/warehouseBusiness/warehouseInStock'
|
|
import { listCharge } from '@/api/system/viewApproval'
|
|
import { listCharge } from '@/api/system/viewApproval'
|
|
import { getDept } from '@/api/basicdata/dept'
|
|
import { getDept } from '@/api/basicdata/dept'
|
|
-
|
|
|
|
|
|
+import { Message } from 'element-ui'
|
|
export default {
|
|
export default {
|
|
name: 'inStock',
|
|
name: 'inStock',
|
|
props: {
|
|
props: {
|
|
@@ -6977,8 +6977,26 @@ export default {
|
|
'tWarehousebillsitems',
|
|
'tWarehousebillsitems',
|
|
JSON.stringify(this.detailList)
|
|
JSON.stringify(this.detailList)
|
|
)
|
|
)
|
|
|
|
+ console.log('是否打印')
|
|
// new window.FormData().append("warehousebillsitems",JSON.stringify(this.dataList))
|
|
// new window.FormData().append("warehousebillsitems",JSON.stringify(this.dataList))
|
|
- stockWarning(formData2).then((response) => {
|
|
|
|
|
|
+ stockWarning(formData2).then((res) => {
|
|
|
|
+ console.log(res)
|
|
|
|
+ if (res.msg != '操作成功') {
|
|
|
|
+ console.log(res.msg)
|
|
|
|
+ // this.$message({
|
|
|
|
+ // showClose: true,
|
|
|
|
+ // message: response.msg,
|
|
|
|
+ // type: 'error',
|
|
|
|
+ // duration: 20000
|
|
|
|
+ // });
|
|
|
|
+ this.msgError2(res.msg)
|
|
|
|
+ // Message({
|
|
|
|
+ // showClose: true,
|
|
|
|
+ // message: response.msg,
|
|
|
|
+ // type: 'error',
|
|
|
|
+ // duration: 20 * 1000
|
|
|
|
+ // })
|
|
|
|
+ }
|
|
addWarehousebills(formData).then((response) => {
|
|
addWarehousebills(formData).then((response) => {
|
|
if (response.data == false) {
|
|
if (response.data == false) {
|
|
this.$confirm(response.msg, '提示', {
|
|
this.$confirm(response.msg, '提示', {
|